(end-of-defun): Fix check for trailing comment.

This commit is contained in:
Karl Heuer 1994-03-18 01:47:28 +00:00
parent 5ca2ef64f0
commit 37f31acf87

View file

@ -184,7 +184,7 @@ the open-parenthesis that starts a defun; see `beginning-of-defun'."
(progn
(forward-list 1)
(skip-chars-forward " \t")
(if (looking-at "[;\n]")
(if (looking-at "\\s<\\|\n")
(forward-line 1)))
(goto-char (point-min)))))
(setq arg (1+ arg)))))