Mercurial > emacs
changeset 6866:47bed999969a
(find-buffer-visiting): Don't check buffer-file-number
unless buffer-file-name is non-nil.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 14 Apr 1994 02:27:36 +0000 |
parents | 82b01d3bcead |
children | 0f4c8109274a |
files | lisp/files.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/files.el Wed Apr 13 23:25:17 1994 +0000 +++ b/lisp/files.el Thu Apr 14 02:27:36 1994 +0000 @@ -596,7 +596,8 @@ (while (and (not found) list) (save-excursion (set-buffer (car list)) - (if (and (equal buffer-file-number number) + (if (and buffer-file-name + (equal buffer-file-number number) ;; Verify this buffer's file number ;; still belongs to its file. (file-exists-p buffer-file-name)