1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(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 (progn
(forward-list 1) (forward-list 1)
(skip-chars-forward " \t") (skip-chars-forward " \t")
(if (looking-at "[;\n]") (if (looking-at "\\s<\\|\n")
(forward-line 1))) (forward-line 1)))
(goto-char (point-min))))) (goto-char (point-min)))))
(setq arg (1+ arg))))) (setq arg (1+ arg)))))