From 09f5f322d418afe34503d8758ad123cd6c8045a0 Mon Sep 17 00:00:00 2001 From: David Maus Date: Sun, 25 Sep 2011 18:16:54 +0200 Subject: [PATCH] Set symbol type if defun but symbol not fbound * org-elisp-symbol.el (org-elisp-symbol-store-link): Set symbol type if defun but symbol not fbound. If the symbol is not fbound but defuned, set type to "function or command". --- contrib/lisp/org-elisp-symbol.el | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/contrib/lisp/org-elisp-symbol.el b/contrib/lisp/org-elisp-symbol.el index 6eb8114..340272b 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)) -- 1.7.2.5