[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-contrib 8bf35435f0 3/3: * lisp/ol-elisp-symbol.el (org
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-contrib 8bf35435f0 3/3: * lisp/ol-elisp-symbol.el (org-elisp-symbol-store-link): Fix condition |
Date: |
Tue, 12 Sep 2023 07:00:23 -0400 (EDT) |
branch: elpa/org-contrib
commit 8bf35435f0a958e9f94940283ecf88446a991bc2
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
* lisp/ol-elisp-symbol.el (org-elisp-symbol-store-link): Fix condition
Use `custom-variable-p' - function that exists.
---
lisp/ol-elisp-symbol.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/ol-elisp-symbol.el b/lisp/ol-elisp-symbol.el
index 758005a297..8f0f4567ce 100644
--- a/lisp/ol-elisp-symbol.el
+++ b/lisp/ol-elisp-symbol.el
@@ -99,7 +99,7 @@
(sym-name (intern-soft name))
(stype (cond ((commandp sym-name) "Command")
((functionp sym-name) "Function")
- ((user-variable-p sym-name) "User variable")
+ ((custom-variable-p sym-name) "User variable")
((string= def "defvar") "Variable")
((string= def "defmacro") "Macro")
((string= def "defun") "Function or command")