diff options
| author | Boris Goldowsky | 1995-03-01 15:47:38 +0000 |
|---|---|---|
| committer | Boris Goldowsky | 1995-03-01 15:47:38 +0000 |
| commit | 52af0e475659371b682d590c483ea470fcff2aa1 (patch) | |
| tree | 3479a3e254af112b3bf8a3f7b4fa76c87615d1ce | |
| parent | ac0e96eb6e7aab3368836af7ee78ed939248a04e (diff) | |
| download | emacs-52af0e475659371b682d590c483ea470fcff2aa1.tar.gz emacs-52af0e475659371b682d590c483ea470fcff2aa1.zip | |
(c-mode, c-fill-paragraph): Remove ^ from paragraph-start & paragraph-separate.
| -rw-r--r-- | lisp/progmodes/c-mode.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/progmodes/c-mode.el b/lisp/progmodes/c-mode.el index 7bc185dd55f..97945336adc 100644 --- a/lisp/progmodes/c-mode.el +++ b/lisp/progmodes/c-mode.el | |||
| @@ -220,7 +220,7 @@ if that value is non-nil." | |||
| 220 | (setq local-abbrev-table c-mode-abbrev-table) | 220 | (setq local-abbrev-table c-mode-abbrev-table) |
| 221 | (set-syntax-table c-mode-syntax-table) | 221 | (set-syntax-table c-mode-syntax-table) |
| 222 | (make-local-variable 'paragraph-start) | 222 | (make-local-variable 'paragraph-start) |
| 223 | (setq paragraph-start (concat "^$\\|" page-delimiter)) | 223 | (setq paragraph-start (concat "$\\|" page-delimiter)) |
| 224 | (make-local-variable 'paragraph-separate) | 224 | (make-local-variable 'paragraph-separate) |
| 225 | (setq paragraph-separate paragraph-start) | 225 | (setq paragraph-separate paragraph-start) |
| 226 | (make-local-variable 'paragraph-ignore-fill-prefix) | 226 | (make-local-variable 'paragraph-ignore-fill-prefix) |
| @@ -308,11 +308,11 @@ preserving the comment indentation or line-starting decorations." | |||
| 308 | ;; should not be filled into paragraphs they are next to. | 308 | ;; should not be filled into paragraphs they are next to. |
| 309 | (concat | 309 | (concat |
| 310 | paragraph-start | 310 | paragraph-start |
| 311 | "\\|^[ \t]*/\\*[ \t]*$\\|^[ \t]*\\*/[ \t]*$\\|^[ \t/*]*$")) | 311 | "\\|[ \t]*/\\*[ \t]*$\\|[ \t]*\\*/[ \t]*$\\|[ \t/*]*$")) |
| 312 | (paragraph-separate | 312 | (paragraph-separate |
| 313 | (concat | 313 | (concat |
| 314 | paragraph-separate | 314 | paragraph-separate |
| 315 | "\\|^[ \t]*/\\*[ \t]*$\\|^[ \t]*\\*/[ \t]*$\\|^[ \t/*]*$"))) | 315 | "\\|[ \t]*/\\*[ \t]*$\\|[ \t]*\\*/[ \t]*$\\|[ \t/*]*$"))) |
| 316 | (save-excursion | 316 | (save-excursion |
| 317 | (beginning-of-line) | 317 | (beginning-of-line) |
| 318 | ;; Move up to first line of this comment. | 318 | ;; Move up to first line of this comment. |
| @@ -419,11 +419,11 @@ preserving the comment indentation or line-starting decorations." | |||
| 419 | ;; should not be filled into paragraphs they are next to. | 419 | ;; should not be filled into paragraphs they are next to. |
| 420 | (concat | 420 | (concat |
| 421 | paragraph-start | 421 | paragraph-start |
| 422 | "\\|^[ \t]*/\\*[ \t]*$\\|^[ \t]*\\*/[ \t]*$\\|^[ \t/*]*$")) | 422 | "\\|[ \t]*/\\*[ \t]*$\\|[ \t]*\\*/[ \t]*$\\|[ \t/*]*$")) |
| 423 | (paragraph-separate | 423 | (paragraph-separate |
| 424 | (concat | 424 | (concat |
| 425 | paragraph-separate | 425 | paragraph-separate |
| 426 | "\\|^[ \t]*/\\*[ \t]*$\\|^[ \t]*\\*/[ \t]*$\\|^[ \t/*]*$")) | 426 | "\\|[ \t]*/\\*[ \t]*$\\|[ \t]*\\*/[ \t]*$\\|[ \t/*]*$")) |
| 427 | (chars-to-delete 0)) | 427 | (chars-to-delete 0)) |
| 428 | (save-restriction | 428 | (save-restriction |
| 429 | ;; Don't fill the comment together with the code following it. | 429 | ;; Don't fill the comment together with the code following it. |