diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2018-11-10 17:07:39 +0100 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2018-11-10 17:15:29 +0100 |
commit | d6dfb8f1e3a7b476e2ac0a413c34ecd8fd6d2d50 (patch) | |
tree | f30c4f7c818dff41d1b8e797a53c3ffb6c735c29 /helm-bookmark.el | |
parent | 091ffe843674480ea1cc7b0ed389ee79a92baa3c (diff) |
Ensure action is available before running it
and bind helm-bookmark-jump-other-frame to helm-only.
* helm.el (helm-exit-and-execute-action): Do it.
* helm-bookmark.el (helm-bookmark-find-files-map): No need now to bind
action to ignore.
Diffstat (limited to 'helm-bookmark.el')
-rw-r--r-- | helm-bookmark.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-bookmark.el b/helm-bookmark.el index a3c0bb8b..0c7af085 100644 --- a/helm-bookmark.el +++ b/helm-bookmark.el @@ -451,7 +451,6 @@ than `w3m-browse-url' use it." (defvar helm-bookmark-find-files-map (let ((map (make-sparse-keymap))) (set-keymap-parent map helm-bookmark-map) - (define-key map (kbd "C-c o") 'ignore) (define-key map (kbd "C-x C-d") 'helm-bookmark-run-browse-project) map)) @@ -676,6 +675,7 @@ words from the buffer into the new bookmark name." (interactive) (with-helm-alive-p (helm-exit-and-execute-action 'helm-bookmark-jump-other-frame))) +(put 'helm-bookmark-run-jump-other-frame 'helm-only t) (defun helm-bookmark-run-jump-other-window () "Jump to bookmark from keyboard." |