# HG changeset patch # User Jim Blandy # Date 723681625 0 # Node ID ee7f627ef26ec6d06e3e9349b0a1c2f06ab983b2 # Parent 26d8a65a6e321627fcf22aac7dd12ebf60a5816d 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. diff -r 26d8a65a6e32 -r ee7f627ef26e lisp/progmodes/c-mode.el --- a/lisp/progmodes/c-mode.el Sun Dec 06 22:32:20 1992 +0000 +++ b/lisp/progmodes/c-mode.el Sun Dec 06 22:40:25 1992 +0000 @@ -320,7 +320,7 @@ ;; 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)))))