emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 7505aba: Improve bookmark-maybe-historicize-string doc string


From: Lars Ingebrigtsen
Subject: master 7505aba: Improve bookmark-maybe-historicize-string doc string
Date: Sat, 4 Dec 2021 14:06:31 -0500 (EST)

branch: master
commit 7505abae3968f9ecdc2e0be909bfffed822f9fdb
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Improve bookmark-maybe-historicize-string doc string
    
    * lisp/bookmark.el (bookmark-maybe-historicize-string): Clarify
    that this isn't about menus (but calls from bmenu) (bug#12504).
---
 lisp/bookmark.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index a8fa9ae..f35cbc1 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -510,8 +510,9 @@ If DEFAULT is nil then return empty string for empty input."
 
 (defmacro bookmark-maybe-historicize-string (string)
   "Put STRING into the bookmark prompt history, if caller non-interactive.
-We need this because sometimes bookmark functions are invoked from
-menus, so `completing-read' never gets a chance to set `bookmark-history'."
+We need this because sometimes bookmark functions are invoked
+from other commands that pass in the bookmark name, so
+`completing-read' never gets a chance to set `bookmark-history'."
   `(or
     (called-interactively-p 'interactive)
     (setq bookmark-history (cons ,string bookmark-history))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]