From 8b3402409798b2399150796ff6dfb2ffb62e0cbb Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Wed, 11 May 2011 03:34:51 +0800 Subject: [PATCH] Bind bookmark-bmenu-search to `/' --- lisp/ChangeLog | 3 +++ lisp/bookmark.el | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 927a3256c84..0ac18b35348 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2011-05-10 Leo Liu + * bookmark.el (bookmark-bmenu-mode-map): Bind + bookmark-bmenu-search to `/'. + * mail/footnote.el: Convert to utf-8 encoding. (footnote-unicode-string, footnote-unicode-regexp): New variable. (Footnote-unicode): New function. diff --git a/lisp/bookmark.el b/lisp/bookmark.el index d3db54c81d4..184cecb9e9c 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el @@ -1504,9 +1504,7 @@ method buffers use to resolve name collisions." (define-key map "a" 'bookmark-bmenu-show-annotation) (define-key map "A" 'bookmark-bmenu-show-all-annotations) (define-key map "e" 'bookmark-bmenu-edit-annotation) - ;; The original binding of M-g hides the M-g prefix map. - ;; If someone has a better idea than M-g s, I'm open to suggestions. - (define-key map [?\M-g ?s] 'bookmark-bmenu-search) + (define-key map "/" 'bookmark-bmenu-search) (define-key map [mouse-2] 'bookmark-bmenu-other-window-with-mouse) map)) -- 2.39.2