Mercurial > emacs
changeset 49741:d886db23ad3a
(find-alternate-file): Check whether `dired-directory' is bound.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Wed, 12 Feb 2003 09:25:22 +0000 |
parents | b1415b1712d3 |
children | 2fc9fb53dc4f |
files | lisp/files.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/files.el Tue Feb 11 23:47:11 2003 +0000 +++ b/lisp/files.el Wed Feb 12 09:25:22 2003 +0000 @@ -940,7 +940,7 @@ (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**")