From 0254854eea382cca5d14b8ad55da8fc4d825ae7d Mon Sep 17 00:00:00 2001 From: Joseph Turner Date: Mon, 15 Jan 2024 00:24:30 -0800 Subject: [PATCH] lisp/ol.el (org-link-open): Use let-bound :follow function TINYCHANGE --- lisp/ol.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ol.el b/lisp/ol.el index ab131cc76..eddd84207 100644 --- a/lisp/ol.el +++ b/lisp/ol.el @@ -1145,9 +1145,9 @@ for internal and \"file\" links, or stored as a parameter in ;; argument, as it was mandatory before Org 9.4. This is ;; deprecated, but support it for now. (condition-case nil - (funcall (org-link-get-parameter type :follow) path arg) + (funcall f path arg) (wrong-number-of-arguments - (funcall (org-link-get-parameter type :follow) path))))))))) + (funcall f path))))))))) (defun org-link-open-from-string (s &optional arg) "Open a link in the string S, as if it was in Org mode.