summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2006-04-10 18:45:34 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2006-04-10 18:45:34 +0000
commit2b690e5b35f847ce62f5abbb323d0f0820338b2c (patch)
tree30730b14ecb07fa1fd87615d2ee16d53aee56d84 /lisp/emacs-lisp
parentc9fdebdf3a790aae312ca5b63b3d4916713d289e (diff)
downloademacs-2b690e5b35f847ce62f5abbb323d0f0820338b2c.tar.gz
(find-function-search-for-symbol): Fix regexp so the defined var/fun doesn't
need to be quoted.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/find-func.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el
index 4f961df0791..0738444c9ec 100644
--- a/lisp/emacs-lisp/find-func.el
+++ b/lisp/emacs-lisp/find-func.el
@@ -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))