]> git.eshelyaron.com Git - emacs.git/commitdiff
(ido-read-file-name): Fallback to read-file-name on C-f
authorKim F. Storm <storm@cua.dk>
Wed, 8 Jun 2005 12:00:46 +0000 (12:00 +0000)
committerKim F. Storm <storm@cua.dk>
Wed, 8 Jun 2005 12:00:46 +0000 (12:00 +0000)
also when reading directory name.

lisp/ido.el

index 47372afec521ecf78f564fdbe5d618f1bb2ebf96..4ac9546de647e4949bab8e3ee549651a1a63735f 100644 (file)
@@ -4193,7 +4193,9 @@ See `read-file-name' for additional parameters."
          (eq (get this-command 'ido) 'dir)
          (memq this-command ido-read-file-name-as-directory-commands))
       (setq filename
-           (ido-read-directory-name prompt dir default-filename mustmatch initial)))
+           (ido-read-directory-name prompt dir default-filename mustmatch initial))
+      (if (eq ido-exit 'fallback)
+         (setq filename 'fallback)))
      ((and (not (eq (get this-command 'ido) 'ignore))
           (not (memq this-command ido-read-file-name-non-ido))
           (or (null predicate) (eq predicate 'file-exists-p)))