summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1992-11-27 22:55:31 +0000
committerRichard M. Stallman <rms@gnu.org>1992-11-27 22:55:31 +0000
commite12d0df7040cfd607bf67a7487eddfac5979b51e (patch)
tree8a279eb3b452a56c27519ba95b210cad9e26b427
parenta22b53407d17373ebe07717a1c4c3957ef3d67c0 (diff)
downloademacs-e12d0df7040cfd607bf67a7487eddfac5979b51e.tar.gz
(add-change-log-entry): Expand file-name again after chasing links.
-rw-r--r--lisp/add-log.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el
index 780c2d84cf8..179852e1058 100644
--- a/lisp/add-log.el
+++ b/lisp/add-log.el
@@ -68,7 +68,8 @@ Third arg OTHER-WINDOW non-nil means visit in other window."
;; Chase links before visiting the file.
;; This makes it easier to use a single change log file
;; for several related directories.
- (setq file-name (or (file-symlink-p file-name) file-name))
+ (setq file-name
+ (expand-file-name (or (file-symlink-p file-name) file-name)))
(set (make-local-variable 'change-log-default-name) file-name)
(if buffer-file-name
(setq entry (if (string-match