]> git.eshelyaron.com Git - emacs.git/commitdiff
(minibuffer-local-map): Rebind TAB so it inserts a \t.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 18 Jul 2006 14:39:57 +0000 (14:39 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 18 Jul 2006 14:39:57 +0000 (14:39 +0000)
lisp/bindings.el

index 722de30280de14d2b437c8ef40c1d15b581549c0..5420badde90bfc9135914a688e27d6ba62907063 100644 (file)
@@ -674,7 +674,11 @@ language you are using."
   (define-key map [prior] 'previous-history-element)
   (define-key map [up]    'previous-history-element)
   (define-key map "\es"   'next-matching-history-element)
-  (define-key map "\er"   'previous-matching-history-element))
+  (define-key map "\er"   'previous-matching-history-element)
+  ;; Override the global binding (which calls indent-relative via
+  ;; indent-for-tab-command).  The alignment that indent-relative tries to
+  ;; do doesn't make much sense here since the prompt messes it up.
+  (define-key map "\t"    'self-insert-command))
 
 (define-key global-map "\C-u" 'universal-argument)
 (let ((i ?0))