1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-29 07:58:21 +00:00

ol.el: Fix confusing variable name

* ol.el (org-link--open-help): Fix a confusing variable name.  No
behavior changes.

TINYCHANGE
This commit is contained in:
Aaron L. Zeng 2021-04-30 08:51:54 +02:00 committed by Bastien Guerry
parent 38f87a26b5
commit e2ffee96d2

View File

@ -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)