]> git.eshelyaron.com Git - emacs.git/commitdiff
Bind bookmark-bmenu-search to `/'
authorLeo Liu <sdl.web@gmail.com>
Tue, 10 May 2011 19:34:51 +0000 (03:34 +0800)
committerLeo Liu <sdl.web@gmail.com>
Tue, 10 May 2011 19:34:51 +0000 (03:34 +0800)
lisp/ChangeLog
lisp/bookmark.el

index 927a3256c84b3bfb7f641c174e5c380a3543bfe6..0ac18b353485b2b29bacba0edae525159d945ecf 100644 (file)
@@ -1,5 +1,8 @@
 2011-05-10  Leo Liu  <sdl.web@gmail.com>
 
+       * 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.
index d3db54c81d4aa4da3de5eed0df4b82911e25d2f4..184cecb9e9cd0d850f07fdf3fa4446d2b39186f0 100644 (file)
@@ -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))