diff options
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/wpc/bookmark.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/.emacs.d/wpc/bookmark.el b/emacs/.emacs.d/wpc/bookmark.el index 2eca628409b1..76fc6fe4d75b 100644 --- a/emacs/.emacs.d/wpc/bookmark.el +++ b/emacs/.emacs.d/wpc/bookmark.el @@ -89,7 +89,9 @@ Otherwise, open with `counsel-find-file'." (general-define-key :prefix "<SPC>" :states '(normal) - (string-concat "j" (bookmark-kbd b)) + (format "J%s" (bookmark-kbd b)) + (lambda () (interactive) (find-file (bookmark-path b))) + (format "j%s" (bookmark-kbd b)) ;; TODO: Consider `cl-labels' so `which-key' minibuffer is more ;; helpful. (lambda () (interactive) (bookmark-open b))))))) |