summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorMarkus Rost <rost@math.uni-bielefeld.de>2002-05-12 19:05:37 +0000
committerMarkus Rost <rost@math.uni-bielefeld.de>2002-05-12 19:05:37 +0000
commit4562c2e45fb02c82eb71da418c44402c7d235873 (patch)
treeff81806afc8925bc1bb2a6be75160b1535ede464 /lisp/emacs-lisp
parent89e7ad59461ab7c95c02c3972982a8058b0c1423 (diff)
downloademacs-4562c2e45fb02c82eb71da418c44402c7d235873.tar.gz
emacs-4562c2e45fb02c82eb71da418c44402c7d235873.tar.bz2
emacs-4562c2e45fb02c82eb71da418c44402c7d235873.zip
(find-function-search-for-symbol): Handle more whitespace/newline
combinations in symbol definitions.
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 660ad019a98..82f3ee2116d 100644
--- a/lisp/emacs-lisp/find-func.el
+++ b/lisp/emacs-lisp/find-func.el
@@ -145,7 +145,7 @@ If VARIABLE-P is nil, `find-function-regexp' is used, otherwise
(goto-char (point-min))
(if (or (re-search-forward regexp nil t)
(re-search-forward
- (concat "^([^ ]+ +"
+ (concat "^([^ ]+\\(\\s-\\|\n\\)+"
(regexp-quote (symbol-name symbol))
"\\>")
nil t))