Mercurial > emacs
diff lisp/files.el @ 73021:23ae8f38f090
(find-buffer-visiting): Don't get fooled by a nil inode.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 20 Sep 2006 17:35:01 +0000 |
parents | 3c10728bc064 |
children | 2283ba7c8090 |
line wrap: on
line diff
--- a/lisp/files.el Wed Sep 20 12:39:11 2006 +0000 +++ b/lisp/files.el Wed Sep 20 17:35:01 2006 +0000 @@ -1365,7 +1365,7 @@ (number (nthcdr 10 attributes)) (list (buffer-list)) found) (and buffer-file-numbers-unique - number + (car-safe number) ;Make sure the inode is not just nil. (while (and (not found) list) (with-current-buffer (car list) (if (and buffer-file-name