aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/files.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 1ca1369d250..831cb6d27d7 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -114,7 +114,8 @@ The truename of a file is found by chasing all links
114both at the file level and at the levels of the containing directories.") 114both at the file level and at the levels of the containing directories.")
115 115
116(defvar buffer-file-truename nil 116(defvar buffer-file-truename nil
117 "The truename of the file visited in the current buffer. 117 "The abbreviated truename of the file visited in the current buffer.
118That is, (abbreviated-file-name (file-truename buffer-file-name)).
118This variable is automatically local in all buffers, when non-nil.") 119This variable is automatically local in all buffers, when non-nil.")
119(make-variable-buffer-local 'buffer-file-truename) 120(make-variable-buffer-local 'buffer-file-truename)
120(put 'buffer-file-truename 'permanent-local t) 121(put 'buffer-file-truename 'permanent-local t)