(end-of-defun): Fix check for trailing comment.
This commit is contained in:
parent
5ca2ef64f0
commit
37f31acf87
1 changed files with 1 additions and 1 deletions
|
@ -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)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue