diff options
| author | Juanma Barranquero | 2007-06-20 15:19:37 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-06-20 15:19:37 +0000 |
| commit | 72a75b41db354b0846da2c728d3c09f48fb24fc8 (patch) | |
| tree | 18e39825c68f0083f33c1e88e592d272226b4012 | |
| parent | 43e9fc935faa1120a5b973bbc2a021c20401e782 (diff) | |
| download | emacs-72a75b41db354b0846da2c728d3c09f48fb24fc8.tar.gz emacs-72a75b41db354b0846da2c728d3c09f48fb24fc8.zip | |
(ido-find-file-in-dir): Don't signal an error for empty directories.
| -rw-r--r-- | lisp/ChangeLog | 11 | ||||
| -rw-r--r-- | lisp/ido.el | 3 |
2 files changed, 9 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0bfc5ab7a8e..38f8794f862 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,9 +1,14 @@ | |||
| 1 | 2007-06-20 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * ido.el (ido-find-file-in-dir): Don't signal an error for | ||
| 4 | empty directories. | ||
| 5 | |||
| 1 | 2007-06-18 Alan Mackenzie <acm@muc.de> | 6 | 2007-06-18 Alan Mackenzie <acm@muc.de> |
| 2 | 7 | ||
| 3 | * progmodes/cc-mode.el (c-remove-any-local-eval-or-mode-variables): | 8 | * progmodes/cc-mode.el (c-remove-any-local-eval-or-mode-variables): |
| 4 | When removing lines, also remove the \n. Correction of patch of | 9 | When removing lines, also remove the \n. Correction of patch of |
| 5 | 2007-04-21. | 10 | 2007-04-21. |
| 6 | 11 | ||
| 7 | 2007-06-17 Glenn Morris <rgm@gnu.org> | 12 | 2007-06-17 Glenn Morris <rgm@gnu.org> |
| 8 | 13 | ||
| 9 | * lpr.el (lpr-page-header-switches): Move %s to separate element | 14 | * lpr.el (lpr-page-header-switches): Move %s to separate element |
| @@ -11,8 +16,8 @@ | |||
| 11 | 16 | ||
| 12 | 2007-06-13 Johan Bockg,Ae(Brd <bojohan@dd.chalmers.se> (tiny change) | 17 | 2007-06-13 Johan Bockg,Ae(Brd <bojohan@dd.chalmers.se> (tiny change) |
| 13 | 18 | ||
| 14 | * term/xterm.el (terminal-init-xterm): Escape parens in character | 19 | * term/xterm.el (terminal-init-xterm): Escape parens in character |
| 15 | constants. | 20 | constants. |
| 16 | 21 | ||
| 17 | 2007-06-12 Ralf Angeli <angeli@caeruleus.net> | 22 | 2007-06-12 Ralf Angeli <angeli@caeruleus.net> |
| 18 | 23 | ||
diff --git a/lisp/ido.el b/lisp/ido.el index 5a7be3e5ae6..0808075b495 100644 --- a/lisp/ido.el +++ b/lisp/ido.el | |||
| @@ -3994,8 +3994,7 @@ For details of keybindings, see `ido-switch-buffer'." | |||
| 3994 | (defun ido-find-file-in-dir (dir) | 3994 | (defun ido-find-file-in-dir (dir) |
| 3995 | "Switch to another file starting from DIR." | 3995 | "Switch to another file starting from DIR." |
| 3996 | (interactive "DDir: ") | 3996 | (interactive "DDir: ") |
| 3997 | (if (not (equal (substring dir -1) "/")) | 3997 | (setq dir (file-name-as-directory dir)) |
| 3998 | (setq dir (concat dir "/"))) | ||
| 3999 | (ido-file-internal ido-default-file-method nil dir nil nil nil 'ignore)) | 3998 | (ido-file-internal ido-default-file-method nil dir nil nil nil 'ignore)) |
| 4000 | 3999 | ||
| 4001 | ;;;###autoload | 4000 | ;;;###autoload |