From 384c50238549aee95e9e3a8ac6b1a3e085e8d7e2 Mon Sep 17 00:00:00 2001 From: David Maus Date: Sun, 25 Sep 2011 21:21:40 +0000 Subject: [PATCH] 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 --- contrib/lisp/org-elisp-symbol.el | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/lisp/org-elisp-symbol.el b/contrib/lisp/org-elisp-symbol.el index 6eb811418..340272b86 100644 --- a/contrib/lisp/org-elisp-symbol.el +++ b/contrib/lisp/org-elisp-symbol.el @@ -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))