branch: externals/org
commit 67de496b1e04383aefb51735d636a368ef749207
Author: Rudolf Adamkovič <rud...@adamkovic.org>
Commit: Ihor Radchenko <yanta...@posteo.net>

    org-clock: Improve the clock-out message
    
    * lisp/org-clock.el (org-clock-kill-emacs-query): Reword "Clock out
    and save?" to "Clock out before exiting?", as the "save?" part is
    confusing: the user might think their file will not be saved, as in
    "data loss", if they answer no.
---
 lisp/org-clock.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 933c054874..d72ef4e293 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -3316,7 +3316,7 @@ The details of what will be saved are regulated by the 
variable
   "Query user when killing Emacs.
 This function is added to `kill-emacs-query-functions'."
   (let ((buf (org-clocking-buffer)))
-    (when (and buf (yes-or-no-p "Clock out and save? "))
+    (when (and buf (yes-or-no-p "Clock out before exiting? "))
       (with-current-buffer buf
         (org-clock-out)
         (save-buffer))))

Reply via email to