Commit c45bc753 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(find-alternate-file): Check whether `dired-directory' is bound.

parent 61bc75ab
2003-02-12 Karl Chen <> (tiny change)
* files.el (find-alternate-file): Check whether `dired-directory'
is bound.
2003-02-12 Simon Marshall <>
* progmodes/make-mode.el (makefile-font-lock-keywords): Fontify
......@@ -940,7 +940,7 @@ If the current buffer now contains an empty file that you just visited
(let ((obuf (current-buffer))
(ofile buffer-file-name)
(onum buffer-file-number)
(odir dired-directory)
(odir (bound-and-true-p dired-directory))
(otrue buffer-file-truename)
(oname (buffer-name)))
(if (get-buffer " **lose**")
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