From 2b690e5b35f847ce62f5abbb323d0f0820338b2c Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 10 Apr 2006 18:45:34 +0000 Subject: (find-function-search-for-symbol): Fix regexp so the defined var/fun doesn't need to be quoted. --- lisp/emacs-lisp/find-func.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/emacs-lisp') 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)) -- cgit v1.2.1