Mercurial > emacs
diff lisp/files.el @ 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 | 57fdeb6dcb72 |
children | fe39d5f94bfd |
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**")