2007-06-20 Juanma Barranquero <lekktu@gmail.com>
+ * ido.el (ido-find-file-in-dir): Don't signal an error for
+ empty directories.
+
* add-log.el (change-log-mode): Set `show-trailing-whitespace'.
* desktop.el (desktop-read): Run `desktop-not-loaded-hook' in the
(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