changeset 102867:8a809181875d

(completion-list-mode-map): Bind "q" to quit-window, just like in all other read-only buffers.
author Sam Steingold <sds@gnu.org>
date Mon, 06 Apr 2009 15:45:00 +0000
parents deb361b63021
children cf16d0f54438
files lisp/ChangeLog lisp/simple.el
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Apr 06 14:54:36 2009 +0000
+++ b/lisp/ChangeLog	Mon Apr 06 15:45:00 2009 +0000
@@ -1,3 +1,8 @@
+2009-04-06  Sam Steingold  <sds@gnu.org>
+
+	* simple.el (completion-list-mode-map): Bind "q" to quit-window,
+	just like in all other read-only buffers.
+
 2009-04-05  Chong Yidong  <cyd@stupidchicken.com>
 
 	* simple.el (handle-shift-selection): Clarify docstring.
--- a/lisp/simple.el	Mon Apr 06 14:54:36 2009 +0000
+++ b/lisp/simple.el	Mon Apr 06 15:45:00 2009 +0000
@@ -5614,6 +5614,7 @@
     (define-key map "\e\e\e" 'delete-completion-window)
     (define-key map [left] 'previous-completion)
     (define-key map [right] 'next-completion)
+    (define-key map "q" 'quit-window)
     map)
   "Local map for completion list buffers.")