(find-function-search-for-symbol): Fix regexp so the defined var/fun doesn't
need to be quoted.
This commit is contained in:
parent
c9fdebdf3a
commit
2b690e5b35
2 changed files with 19 additions and 18 deletions
|
@ -229,7 +229,7 @@ The search is done in the source for library LIBRARY."
|
|||
(goto-char (point-min))
|
||||
(if (or (re-search-forward regexp nil t)
|
||||
(re-search-forward
|
||||
(concat "^([^ ]+" find-function-space-re "['(]"
|
||||
(concat "^([^ ]+" find-function-space-re "['(]?"
|
||||
(regexp-quote (symbol-name symbol))
|
||||
"\\_>")
|
||||
nil t))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue