branch: elpa/helm
commit 91d8a99905fdf3fa8749e19a33af034978a80bf2
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
format-prompt not available in previous emacs use format
---
helm-bookmark.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helm-bookmark.el b/helm-bookmark.el
index e6672c5489..09808caf71 100644
--- a/helm-bookmark.el
+++ b/helm-bookmark.el
@@ -783,7 +783,7 @@ consecutive words from the buffer into the new bookmark
name."
(catch 'skip
(let ((newname
(or new (read-from-minibuffer
- (format-prompt "New name [%s]" old "C-RET to skip") nil
+ (format "(C-RET to skip) New name [%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>")