summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index c89981f54bb..1eac656f8b7 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -590,7 +590,7 @@ If there is no such live buffer, return nil."
(setq found (car list))))
(setq list (cdr list)))
found)
- (let ((number (nthcdr 10 (file-attributes )))
+ (let ((number (nthcdr 10 (file-attributes truename)))
(list (buffer-list)) found)
(while (and (not found) list)
(save-excursion