mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-03 19:42:54 +00:00
contrib/lisp/org-elisp-symbol: Set type if symbol is defuned but not fbound
Another small patch for org-elisp-symbol: Set the symbol type to "Function or command" if it is defuned but not fbound when `org-elisp-symbol-store-link' is called. Best, -- David
This commit is contained in:
parent
1d65423da8
commit
384c502385
|
@ -106,6 +106,7 @@
|
|||
((user-variable-p sym-name) "User variable")
|
||||
((string= def "defvar") "Variable")
|
||||
((string= def "defmacro") "Macro")
|
||||
((string= def "defun") "Function or command")
|
||||
(t "Symbol")))
|
||||
(args (if (match-string 3)
|
||||
(mapconcat (lambda (a) (unless (string-match "^&" a) a))
|
||||
|
|
Loading…
Reference in a new issue