Commit 9e2f5050 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(custom-save-all): Use find-file-visit-truename for visiting the custom file.

parent b79b8a1c
......@@ -4193,7 +4193,8 @@ if only the first line of the docstring is shown."))
"\\'")
recentf-exclude)))
(old-buffer (find-buffer-visiting filename)))
(with-current-buffer (or old-buffer (find-file-noselect filename))
(with-current-buffer (let ((find-file-visit-truename t))
(or old-buffer (find-file-noselect filename)))
(unless (eq major-mode 'emacs-lisp-mode)
(emacs-lisp-mode))
(let ((inhibit-read-only t))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment