]> git.eshelyaron.com Git - emacs.git/commitdiff
(find-function-search-for-symbol): Handle more whitespace/newline
authorMarkus Rost <rost@math.uni-bielefeld.de>
Sun, 12 May 2002 19:05:37 +0000 (19:05 +0000)
committerMarkus Rost <rost@math.uni-bielefeld.de>
Sun, 12 May 2002 19:05:37 +0000 (19:05 +0000)
combinations in symbol definitions.

lisp/emacs-lisp/find-func.el

index 660ad019a98eaac7acf73fe933b60234ee0bdcbf..82f3ee2116dcf03ce45617f5c0f732f0d9fe5f39 100644 (file)
@@ -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))