1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00

Andreas Politz <politza at fh-trier.de> (tiny change)

(ido-file-internal): Handle filenames at point that do not have a
directory part.  (Bug#5049)
This commit is contained in:
Glenn Morris 2009-12-02 03:00:41 +00:00
parent c710ac3c08
commit b2d5f31abf
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
* ido.el (ido-file-internal): Handle filenames at point that do
not have a directory part. (Bug#5049)
2009-12-02 Juanma Barranquero <lekktu@gmail.com>
* mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)

View File

@ -2288,7 +2288,7 @@ If cursor is not at the end of the user input, move to end of input."
(ffap-guesser)
(ffap-string-at-point))))
(not (string-match "^http:/" fn))
(setq d (file-name-directory fn))
(setq d (file-name-directory (expand-file-name fn)))
(file-directory-p d))
(setq ido-current-directory d)
(setq initial (file-name-nondirectory fn))))))