diff options
| author | Leo Liu | 2011-05-11 03:34:51 +0800 |
|---|---|---|
| committer | Leo Liu | 2011-05-11 03:34:51 +0800 |
| commit | 8b3402409798b2399150796ff6dfb2ffb62e0cbb (patch) | |
| tree | b521ee97bef7f61f751973205ac6146613602ce7 | |
| parent | 9b053e766d00b0c74e0c8a8e31af7d46aa880f32 (diff) | |
| download | emacs-8b3402409798b2399150796ff6dfb2ffb62e0cbb.tar.gz emacs-8b3402409798b2399150796ff6dfb2ffb62e0cbb.zip | |
Bind bookmark-bmenu-search to `/'
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | 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 @@ | |||
| 1 | 2011-05-10 Leo Liu <sdl.web@gmail.com> | 1 | 2011-05-10 Leo Liu <sdl.web@gmail.com> |
| 2 | 2 | ||
| 3 | * bookmark.el (bookmark-bmenu-mode-map): Bind | ||
| 4 | bookmark-bmenu-search to `/'. | ||
| 5 | |||
| 3 | * mail/footnote.el: Convert to utf-8 encoding. | 6 | * mail/footnote.el: Convert to utf-8 encoding. |
| 4 | (footnote-unicode-string, footnote-unicode-regexp): New variable. | 7 | (footnote-unicode-string, footnote-unicode-regexp): New variable. |
| 5 | (Footnote-unicode): New function. | 8 | (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." | |||
| 1504 | (define-key map "a" 'bookmark-bmenu-show-annotation) | 1504 | (define-key map "a" 'bookmark-bmenu-show-annotation) |
| 1505 | (define-key map "A" 'bookmark-bmenu-show-all-annotations) | 1505 | (define-key map "A" 'bookmark-bmenu-show-all-annotations) |
| 1506 | (define-key map "e" 'bookmark-bmenu-edit-annotation) | 1506 | (define-key map "e" 'bookmark-bmenu-edit-annotation) |
| 1507 | ;; The original binding of M-g hides the M-g prefix map. | 1507 | (define-key map "/" 'bookmark-bmenu-search) |
| 1508 | ;; If someone has a better idea than M-g s, I'm open to suggestions. | ||
| 1509 | (define-key map [?\M-g ?s] 'bookmark-bmenu-search) | ||
| 1510 | (define-key map [mouse-2] 'bookmark-bmenu-other-window-with-mouse) | 1508 | (define-key map [mouse-2] 'bookmark-bmenu-other-window-with-mouse) |
| 1511 | map)) | 1509 | map)) |
| 1512 | 1510 | ||