summaryrefslogtreecommitdiff
path: root/helm-bookmark.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2016-07-05 10:44:10 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2016-07-05 10:44:10 +0200
commit0ae22a676f98d3b8c2f6ef3babde3c33346a9258 (patch)
tree69d1ec6ca259fd0e946178bbf3e2ace5ecc5574b /helm-bookmark.el
parenta06c5bd489811993f85efbefc845499469b096fb (diff)
Remove jump other window from hff boomarks.
* helm-bookmark.el (helm-bookmark-jump-other-window): Dont handle hff bmks from here. (helm-bookmark-find-files-map): unbind ow. (helm--setup-source): remove ow action.
Diffstat (limited to 'helm-bookmark.el')
-rw-r--r--helm-bookmark.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/helm-bookmark.el b/helm-bookmark.el
index 125e615c..ce3ded4a 100644
--- a/helm-bookmark.el
+++ b/helm-bookmark.el
@@ -219,10 +219,7 @@
(defun helm-bookmark-jump-other-window (candidate)
(let (non-essential)
- (if (string= (assoc-default 'name (helm-get-current-source))
- "Bookmark helm-find-files sessions")
- (bookmark-jump candidate)
- (bookmark-jump-other-window candidate))))
+ (bookmark-jump-other-window candidate)))
;;; bookmark-set
@@ -476,6 +473,7 @@ 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))
@@ -484,7 +482,8 @@ than `w3m-browse-url' use it."
(defmethod helm--setup-source ((source helm-bookmark-overwrite-inheritor))
(setf (slot-value source 'action)
(helm-append-at-nth
- helm-type-bookmark-actions
+ (remove '("Jump to BM other window" . helm-bookmark-jump-other-window)
+ helm-type-bookmark-actions)
'(("Browse project" . helm-bookmark-browse-project)) 1))
(setf (slot-value source 'keymap) helm-bookmark-find-files-map))