Commit 72a75b41 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(ido-find-file-in-dir): Don't signal an error for empty directories.

parent 43e9fc93
2007-06-20 Juanma Barranquero <lekktu@gmail.com>
* ido.el (ido-find-file-in-dir): Don't signal an error for
empty directories.
2007-06-18 Alan Mackenzie <acm@muc.de>
 
* progmodes/cc-mode.el (c-remove-any-local-eval-or-mode-variables):
When removing lines, also remove the \n. Correction of patch of
2007-04-21.
2007-06-17 Glenn Morris <rgm@gnu.org>
 
* lpr.el (lpr-page-header-switches): Move %s to separate element
......@@ -11,8 +16,8 @@
 
2007-06-13 Johan Bockg,Ae(Brd <bojohan@dd.chalmers.se> (tiny change)
 
* term/xterm.el (terminal-init-xterm): Escape parens in character
constants.
* term/xterm.el (terminal-init-xterm): Escape parens in character
constants.
 
2007-06-12 Ralf Angeli <angeli@caeruleus.net>
 
......@@ -3994,8 +3994,7 @@ For details of keybindings, see `ido-switch-buffer'."
(defun ido-find-file-in-dir (dir)
"Switch to another file starting from DIR."
(interactive "DDir: ")
(if (not (equal (substring dir -1) "/"))
(setq dir (concat dir "/")))
(setq dir (file-name-as-directory dir))
(ido-file-internal ido-default-file-method nil dir nil nil nil 'ignore))
;;;###autoload
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment