diff options
author | Johan Claesson <[email protected]> | 2019-03-17 18:14:33 +0100 |
---|---|---|
committer | Johan Claesson <[email protected]> | 2019-03-17 18:27:23 +0100 |
commit | 28e75b6955af4e6531861decd3e9660d9136d371 (patch) | |
tree | e61aca8da26b2a4a0423b3a64673bd853817af7a /lib | |
parent | 620ac3e68c5bc8b36143965fcf2892a07dc005c4 (diff) | |
download | otp-28e75b6955af4e6531861decd3e9660d9136d371.tar.gz otp-28e75b6955af4e6531861decd3e9660d9136d371.tar.bz2 otp-28e75b6955af4e6531861decd3e9660d9136d371.zip |
Emacs: Adapt to changed make-symbolic-link behavior
Since Emacs 26 make-symbolic-link will by default not expand a leading
~ in the target. Let's do it ourselves then i guess.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tools/emacs/erldoc.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tools/emacs/erldoc.el b/lib/tools/emacs/erldoc.el index 770ab299ee..77e66bfc98 100644 --- a/lib/tools/emacs/erldoc.el +++ b/lib/tools/emacs/erldoc.el @@ -280,7 +280,7 @@ up the indexing." (unless (file-exists-p of) (erldoc-parse-all erldoc-man-index of)) (unless (string= erldoc-output-file of) - (make-symbolic-link of erldoc-output-file)))) + (make-symbolic-link (expand-file-name of) erldoc-output-file)))) (setq erldoc-lookup-table (with-temp-buffer (insert-file-contents erldoc-output-file) |