]> git.eshelyaron.com Git - emacs.git/commitdiff
Document how to get back the old binding of SPC in file prompts.
authorEli Zaretskii <eliz@gnu.org>
Fri, 6 Jul 2007 16:13:37 +0000 (16:13 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 6 Jul 2007 16:13:37 +0000 (16:13 +0000)
etc/NEWS

index 11e40efd4f610d25991032031c5c67676aad407c..5066cfac779d890b9a6ded9ea1858af1d07bd77b 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -264,6 +264,14 @@ need to quote the space with a C-q.  The underlying changes in the
 keymaps that are active in the minibuffer are described below under
 "New keymaps for typing file names".
 
+If you want the old behavior back, put these two key bindings to your
+~/.emacs init file:
+
+  (define-key minibuffer-local-filename-completion-map
+             " " 'minibuffer-complete-word)
+  (define-key minibuffer-local-must-match-filename-map
+             " " 'minibuffer-complete-word)
+
 ** The completion commands TAB, SPC and ? in the minibuffer apply only
 to the text before point.  If there is text in the buffer after point,
 it remains unchanged.