emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/lisp ido.el


From: Chong Yidong
Subject: [Emacs-diffs] emacs/lisp ido.el
Date: Sat, 20 Dec 2008 10:30:14 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/12/20 10:30:14

Modified files:
        lisp           : ido.el 

Log message:
        (ido-read-internal): Handle `confirm' and `confirm-after-completion'
        values for the require-match argument.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ido.el?cvsroot=emacs&r1=1.153&r2=1.154

Patches:
Index: ido.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/ido.el,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -b -r1.153 -r1.154
--- ido.el      3 Dec 2008 05:48:27 -0000       1.153
+++ ido.el      20 Dec 2008 10:30:06 -0000      1.154
@@ -1803,6 +1803,10 @@
 DEFAULT if given is the default item to start with.
 If REQUIRE-MATCH is non-nil, an existing file must be selected.
 If INITIAL is non-nil, it specifies the initial input string."
+  ;; Ido does not implement the `confirm' and
+  ;; `confirm-after-completion' values of REQUIRE-MATCH.
+  (if (memq require-match '(confirm confirm-after-completion))
+      (setq require-match nil))
   (let
       ((ido-cur-item item)
        (ido-entry-buffer (current-buffer))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]