mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-20 04:50:55 -07:00
Fri Dec 4 00:31:30 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
* c-mode.el (c-fill-paragraph): When trying to make sure that the comment ender isn't on its own line, don't signal an error if there is no comment ender.
This commit is contained in:
parent
ce4b7b0246
commit
bc254115cc
1 changed files with 1 additions and 1 deletions
|
|
@ -320,7 +320,7 @@ preserving the comment indentation or line-starting decorations."
|
|||
;; given the narrowing) and don't leave it on its own line.
|
||||
(goto-char (point-max))
|
||||
(forward-line -1)
|
||||
(search-forward "*/")
|
||||
(search-forward "*/" nil 'move)
|
||||
(beginning-of-line)
|
||||
(if (looking-at "[ \t]*\\*/")
|
||||
(delete-indentation)))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue