From 28e75b6955af4e6531861decd3e9660d9136d371 Mon Sep 17 00:00:00 2001 From: Johan Claesson Date: Sun, 17 Mar 2019 18:14:33 +0100 Subject: 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. --- lib/tools/emacs/erldoc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/tools') 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) -- cgit v1.2.3