summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Liu <sdl.web@gmail.com>2011-05-11 03:34:51 +0800
committerLeo Liu <sdl.web@gmail.com>2011-05-11 03:34:51 +0800
commit8b3402409798b2399150796ff6dfb2ffb62e0cbb (patch)
treeb521ee97bef7f61f751973205ac6146613602ce7
parent9b053e766d00b0c74e0c8a8e31af7d46aa880f32 (diff)
downloademacs-8b3402409798b2399150796ff6dfb2ffb62e0cbb.tar.gz
emacs-8b3402409798b2399150796ff6dfb2ffb62e0cbb.tar.bz2
emacs-8b3402409798b2399150796ff6dfb2ffb62e0cbb.zip
Bind bookmark-bmenu-search to `/'
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/bookmark.el4
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 <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.
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))