Skip to content

Commit

Permalink
When showing ekg notes, open the notes in the current window
Browse files Browse the repository at this point in the history
This is different than what is done now, which is to show it in another
window (making a new window if necessary).

This will fix #160
  • Loading branch information
ahyatt committed Aug 18, 2024
1 parent 00ae22d commit 2a6043f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ekg.el
Original file line number Diff line number Diff line change
Expand Up @@ -2016,7 +2016,7 @@ notes are created with additional tags TAGS."
(let ((buf (get-buffer-create (format "*ekg %s*" name))))
(set-buffer buf)
(ekg--show-notes name notes-func tags)
(pop-to-buffer buf)))
(switch-to-buffer buf)))

(defun ekg-sort-by-creation-time (a b)
"Used to pass to `sort', which will supply A and B."
Expand Down

0 comments on commit 2a6043f

Please sign in to comment.