Mercurial > emacs
changeset 2553:61e4e09e7243
(find-file-noselect): Never set SAME-TRUENAME to a buffer whose
buffer-file-name is nil.
author | Roland McGrath <roland@gnu.org> |
---|---|
date | Mon, 19 Apr 1993 20:36:23 +0000 |
parents | ce9a2a209b97 |
children | 5686672705bf |
files | lisp/files.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/files.el Mon Apr 19 20:27:50 1993 +0000 +++ b/lisp/files.el Mon Apr 19 20:36:23 1993 +0000 @@ -468,7 +468,8 @@ (while (and (not found) list) (save-excursion (set-buffer (car list)) - (if (string= buffer-file-truename truename) + (if (and buffer-file-name + (string= buffer-file-truename truename)) (setq found (car list)))) (setq list (cdr list))) found)))