[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp complete.el
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] emacs/lisp complete.el |
Date: |
Sat, 29 Nov 2008 21:41:11 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 08/11/29 21:41:11
Modified files:
lisp : complete.el
Log message:
(PC-do-complete-and-exit): Use minibuffer-confirm-exit-commands.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/complete.el?cvsroot=emacs&r1=1.90&r2=1.91
Patches:
Index: complete.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/complete.el,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -b -r1.90 -r1.91
--- complete.el 28 Nov 2008 19:11:58 -0000 1.90
+++ complete.el 29 Nov 2008 21:41:11 -0000 1.91
@@ -340,7 +340,7 @@
((eq minibuffer-completion-confirm 'confirm-after-completion)
;; Similar to the above, but only if trying to exit immediately
;; after typing TAB (this catches most minibuffer typos).
- (if (and (memq last-command '(PC-complete minibuffer-complete))
+ (if (and (memq last-command minibuffer-confirm-exit-commands)
(not (test-completion (field-string)
minibuffer-completion-table
minibuffer-completion-predicate)))