Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
411d5924
Commit
411d5924
authored
May 28, 1993
by
Richard M. Stallman
Browse files
(find-log-file): Use source file's truename dir.
parent
cbfa19e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
lisp/add-log.el
lisp/add-log.el
+7
-0
No files found.
lisp/add-log.el
View file @
411d5924
...
...
@@ -54,6 +54,13 @@ Once a file is found, `change-log-default-name' is set locally in the
current buffer to the complete file name."
(
or
file-name
(
setq
file-name
(
or
change-log-default-name
;; Chase links in the source file
;; and use the change log in the dir where it points.
(
and
buffer-file-name
(
let
(
temp
(
file
buffer-file-name
))
(
while
(
setq
temp
(
file-symlink-p
file
))
(
setq
file
temp
))
(
file-name-directory
file
)))
default-directory
)))
(
if
(
and
(
eq
file-name
change-log-default-name
)
(
assq
'change-log-default-name
(
buffer-local-variables
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment