diff options
| author | Jim Blandy | 1992-12-06 22:40:25 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-12-06 22:40:25 +0000 |
| commit | bc254115cc2b986907c35035967f5b7edbaf6ccb (patch) | |
| tree | 642abf059bd5c3576a0386d7b31f9551813aee38 | |
| parent | ce4b7b02460cc7234e6feb9a4364b9e6b967fc37 (diff) | |
| download | emacs-bc254115cc2b986907c35035967f5b7edbaf6ccb.tar.gz emacs-bc254115cc2b986907c35035967f5b7edbaf6ccb.zip | |
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.
| -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 41c75c69ddd..aa766148743 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." | |||
| 320 | ;; given the narrowing) and don't leave it on its own line. | 320 | ;; given the narrowing) and don't leave it on its own line. |
| 321 | (goto-char (point-max)) | 321 | (goto-char (point-max)) |
| 322 | (forward-line -1) | 322 | (forward-line -1) |
| 323 | (search-forward "*/") | 323 | (search-forward "*/" nil 'move) |
| 324 | (beginning-of-line) | 324 | (beginning-of-line) |
| 325 | (if (looking-at "[ \t]*\\*/") | 325 | (if (looking-at "[ \t]*\\*/") |
| 326 | (delete-indentation))))) | 326 | (delete-indentation))))) |