changeset 21094:10363c2d994a

(bookmark-bmenu-mode-map): Use quit-window for q. (bookmark-bmenu-quit): Function deleted.
author Richard M. Stallman <rms@gnu.org>
date Sun, 08 Mar 1998 00:20:23 +0000
parents aa96b119d0ef
children f557f5e4137f
files lisp/bookmark.el
diffstat 1 files changed, 1 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/bookmark.el	Sun Mar 08 00:19:56 1998 +0000
+++ b/lisp/bookmark.el	Sun Mar 08 00:20:23 1998 +0000
@@ -1482,7 +1482,7 @@
     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 @@
 	(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."