Commit 31cd9611 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(bookmark-bmenu-mode-map): Use quit-window for q.

(bookmark-bmenu-quit): Function deleted.
parent 68e6f094
......@@ -1482,7 +1482,7 @@ method buffers use to resolve name collisions."
nil
(setq bookmark-bmenu-mode-map (make-keymap))
(suppress-keymap bookmark-bmenu-mode-map t)
(define-key bookmark-bmenu-mode-map "q" 'bookmark-bmenu-quit)
(define-key bookmark-bmenu-mode-map "q" 'quit-window)
(define-key bookmark-bmenu-mode-map "v" 'bookmark-bmenu-select)
(define-key bookmark-bmenu-mode-map "w" 'bookmark-bmenu-locate)
(define-key bookmark-bmenu-mode-map "2" 'bookmark-bmenu-2-window)
......@@ -1942,14 +1942,6 @@ The current window remains selected."
(bookmark-edit-annotation bookmark))))
(defun bookmark-bmenu-quit ()
"Quit the bookmark menu."
(interactive)
(let ((buffer (current-buffer)))
(switch-to-buffer (other-buffer))
(bury-buffer buffer)))
(defun bookmark-bmenu-unmark (&optional backup)
"Cancel all requested operations on bookmark on this line and move down.
Optional BACKUP means move up."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment