emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 0254854eea 3/3: lisp/ol.el (org-link-open): Use let


From: ELPA Syncer
Subject: [elpa] externals/org 0254854eea 3/3: lisp/ol.el (org-link-open): Use let-bound :follow function
Date: Tue, 16 Jan 2024 09:58:21 -0500 (EST)

branch: externals/org
commit 0254854eea382cca5d14b8ad55da8fc4d825ae7d
Author: Joseph Turner <joseph@breatheoutbreathe.in>
Commit: Ihor Radchenko <yantar92@posteo.net>

    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 ab131cc760..eddd842072 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]