Use `string=' to compare strings
* org-elisp-symbol.el (org-elisp-symbol-store-link): Use `string=' to compare strings. (let ((foo "foo")) (eq foo "foo")) => nil
This commit is contained in:
parent
09986fa395
commit
fe77c66741
|
@ -104,8 +104,8 @@
|
|||
(stype (cond ((commandp sym-name) "Command")
|
||||
((functionp sym-name) "Function")
|
||||
((user-variable-p sym-name) "User variable")
|
||||
((eq def "defvar") "Variable")
|
||||
((eq def "defmacro") "Macro")
|
||||
((string= def "defvar") "Variable")
|
||||
((string= def "defmacro") "Macro")
|
||||
(t "Symbol")))
|
||||
(args (if (match-string 3)
|
||||
(mapconcat (lambda (a) (unless (string-match "^&" a) a))
|
||||
|
|
Loading…
Reference in New Issue