diff options
author | Jim Blandy <[email protected]> | 1992-12-06 22:40:25 +0000 |
---|---|---|
committer | Jim Blandy <[email protected]> | 1992-12-06 22:40:25 +0000 |
commit | bc254115cc2b986907c35035967f5b7edbaf6ccb (patch) | |
tree | 642abf059bd5c3576a0386d7b31f9551813aee38 | |
parent | ce4b7b02460cc7234e6feb9a4364b9e6b967fc37 (diff) |
Fri Dec 4 00:31:30 1992 Jim Blandy ([email protected])
* 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.
-rw-r--r-- | lisp/progmodes/c-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/c-mode.el b/lisp/progmodes/c-mode.el index 41c75c69dd..aa76614874 100644 --- a/lisp/progmodes/c-mode.el +++ b/lisp/progmodes/c-mode.el @@ -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))))) |