emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/helm 667eb0cd50 1/2: Fix prompt in helm-bookmark


From: ELPA Syncer
Subject: [nongnu] elpa/helm 667eb0cd50 1/2: Fix prompt in helm-bookmark
Date: Sat, 13 Apr 2024 13:00:00 -0400 (EDT)

branch: elpa/helm
commit 667eb0cd506d66a8c92fef683f94702092952d56
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>

    Fix prompt in helm-bookmark
    
    Fix commit 91d8a999 (replace format-prompt by format for compatibility).
---
 helm-bookmark.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/helm-bookmark.el b/helm-bookmark.el
index 09808caf71..4a666b0b7f 100644
--- a/helm-bookmark.el
+++ b/helm-bookmark.el
@@ -783,7 +783,8 @@ consecutive words from the buffer into the new bookmark 
name."
   (catch 'skip
     (let ((newname
            (or new  (read-from-minibuffer
-                     (format "(C-RET to skip) New name [%s]: " old) nil
+                     ;; `format-prompt' is not available in old Emacs.
+                     (format "New name [C-RET to skip] (default %s): " old) nil
                      (let ((now-map  (copy-keymap minibuffer-local-map)))
                        (define-key now-map "\C-w" #'bookmark-yank-word)
                        (define-key now-map (kbd "C-<return>")



reply via email to

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