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

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

[elpa] externals-release/org e2ffee9: ol.el: Fix confusing variable name


From: ELPA Syncer
Subject: [elpa] externals-release/org e2ffee9: ol.el: Fix confusing variable name
Date: Fri, 30 Apr 2021 02:57:11 -0400 (EDT)

branch: externals-release/org
commit e2ffee96d2667b5c70fd9d8fc0a7fbc54a56950b
Author: Aaron L. Zeng <me@bcc32.com>
Commit: Bastien Guerry <bzg@gnu.org>

    ol.el: Fix confusing variable name
    
    * ol.el (org-link--open-help): Fix a confusing variable name.  No
    behavior changes.
    
    TINYCHANGE
---
 lisp/ol.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/ol.el b/lisp/ol.el
index d1db168..e25d28f 100644
--- a/lisp/ol.el
+++ b/lisp/ol.el
@@ -1335,8 +1335,8 @@ PATH is the sexp to evaluate, as a string."
   "Open a \"help\" type link.
 PATH is a symbol name, as a string."
   (pcase (intern path)
-    ((and (pred fboundp) variable) (describe-function variable))
-    ((and (pred boundp) function) (describe-variable function))
+    ((and (pred fboundp) function) (describe-function function))
+    ((and (pred boundp) variable) (describe-variable variable))
     (name (user-error "Unknown function or variable: %s" name))))
 
 (org-link-set-parameters "help" :follow #'org-link--open-help)



reply via email to

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