소스 검색

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
David Maus 13 년 전
부모
커밋
384c502385
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      contrib/lisp/org-elisp-symbol.el

+ 1 - 0
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))