]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/desktop.el (desktop-read): Clarify warning text.
authorEli Zaretskii <eliz@gnu.org>
Sun, 27 Mar 2022 05:10:27 +0000 (08:10 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 27 Mar 2022 05:10:27 +0000 (08:10 +0300)
lisp/desktop.el

index e7a368e21f52c63ca6b9f7f417e8c4bc7b21d36e..51c56faebb55c8c6bfb745aca610a664307a8f33 100644 (file)
@@ -1266,8 +1266,10 @@ It returns t if a desktop file was loaded, nil otherwise.
                   (memq desktop-load-locked-desktop '(nil ask))
                   (or (null desktop-load-locked-desktop)
                       (daemonp)
-                      (not (y-or-n-p (format "Warning: desktop file appears to be in use by PID %s.\n\
-Using it may cause conflicts.  Use it anyway? " owner)))))
+                      (not (y-or-n-p (format "
+Warning: desktop file appears to be in use by process with PID %s.\n\
+Using it may cause conflicts if that process still runs.\n\
+Use desktop file anyway? " owner)))))
              (let ((default-directory desktop-dirname))
                (setq desktop-dirname nil)
                (run-hooks 'desktop-not-loaded-hook)