branch: elpa/org-journal
commit d4b3cfd1081a4d910c2c87ed6478dca6beebab0c
Author: Daniel Fleischer <danfl...@gmail.com>
Commit: GitHub <nore...@github.com>

    kill buffer function
    
    `kill-current-buffer` is the correct function, as `kill-this-buffer` is 
intended to be used with a mouse.
---
 org-journal.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-journal.el b/org-journal.el
index ca41aac6ae..d274fb3202 100644
--- a/org-journal.el
+++ b/org-journal.el
@@ -1887,7 +1887,7 @@ If STR is empty, search for all entries using 
`org-journal-time-prefix'."
 (unless org-journal-search-mode-map
   (setq org-journal-search-mode-map
         (let ((map (make-sparse-keymap)))
-          (define-key map "q" 'kill-this-buffer)
+          (define-key map "q" 'kill-current-buffer)
           (define-key map (kbd "<tab>") 'org-journal--search-next)
           (define-key map (kbd "<backtab>") 'org-journal--search-prev)
           (define-key map "n" 'org-journal--search-next)

Reply via email to