Mercurial > hg > xemacs-beta
diff lisp/prim/files.el @ 179:9ad43877534d r20-3b16
Import from CVS: tag r20-3b16
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:52:19 +0200 |
parents | 2d532a89d707 |
children | bfd6434d15b3 |
line wrap: on
line diff
--- a/lisp/prim/files.el Mon Aug 13 09:51:18 2007 +0200 +++ b/lisp/prim/files.el Mon Aug 13 09:52:19 2007 +0200 @@ -957,9 +957,9 @@ (error "%s is a directory." filename)) (let* ((buf (get-file-buffer filename)) ; (truename (abbreviate-file-name (file-truename filename))) -; (number (nthcdr 10 (file-attributes truename))) - (number (and buffer-file-truename - (nthcdr 10 (file-attributes buffer-file-truename)))) + (number (nthcdr 10 (file-attributes (file-truename filename)))) +; (number (and buffer-file-truename +; (nthcdr 10 (file-attributes buffer-file-truename)))) ; ;; Find any buffer for a file which has same truename. ; (other (and (not buf) (find-buffer-visiting filename))) (error nil))