]> git.eshelyaron.com Git - emacs.git/commitdiff
(beginning-of-defun-raw): Use shy-group.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 18 May 2003 21:51:01 +0000 (21:51 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 18 May 2003 21:51:01 +0000 (21:51 +0000)
lisp/emacs-lisp/lisp.el

index ad553e508e9aed875d0bfec6897cab053dcb7592..c6ec7cf5b9e1da75513e8bf6ac4d3e7685e4f75c 100644 (file)
@@ -192,7 +192,7 @@ is called as a function to find the defun's beginning."
     (and (re-search-backward (if defun-prompt-regexp
                                 (concat (if open-paren-in-column-0-is-defun-start
                                             "^\\s(\\|" "")
-                                        "\\(" defun-prompt-regexp "\\)\\s(")
+                                        "\\(?:" defun-prompt-regexp "\\)\\s(")
                               "^\\s(")
                             nil 'move (or arg 1))
         (progn (goto-char (1- (match-end 0)))) t)))