aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools
diff options
context:
space:
mode:
authorJohan Claesson <[email protected]>2019-03-17 18:14:33 +0100
committerJohan Claesson <[email protected]>2019-03-17 18:27:23 +0100
commit28e75b6955af4e6531861decd3e9660d9136d371 (patch)
treee61aca8da26b2a4a0423b3a64673bd853817af7a /lib/tools
parent620ac3e68c5bc8b36143965fcf2892a07dc005c4 (diff)
downloadotp-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/tools')
-rw-r--r--lib/tools/emacs/erldoc.el2
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)