branch: elpa/helm
commit 7626307bc6d83020bab6f276515555e38a80c9bc
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Use old bookmark as default when renaming
---
helm-bookmark.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helm-bookmark.el b/helm-bookmark.el
index 15865977da..7c005b9561 100644
--- a/helm-bookmark.el
+++ b/helm-bookmark.el
@@ -783,7 +783,7 @@ consecutive words from the buffer into the new bookmark
name."
(let ((now-map (copy-keymap
minibuffer-local-map)))
(define-key now-map "\C-w" #'bookmark-yank-word)
now-map)
- nil 'bookmark-history))))
+ nil 'bookmark-history old))))
(bookmark-set-name old newname)
(setq bookmark-current-bookmark newname)
(unless batch (bookmark-bmenu-surreptitiously-rebuild-list))