summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/recentf.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/recentf.el b/lisp/recentf.el
index df7f3e2e565..6d6ad48ea1f 100644
--- a/lisp/recentf.el
+++ b/lisp/recentf.el
@@ -1187,6 +1187,9 @@ IGNORE other arguments."
:format "%[%t\n%]"
:help-echo ,(concat "Open " (cdr menu-element))
:action recentf-open-files-action
+ ;; Override the (problematic) follow-link property of the
+ ;; `link' widget (bug#22434).
+ :follow-link nil
,(cdr menu-element))))
(defun recentf-open-files-items (files)