# HG changeset patch # User Boris Goldowsky # Date 794072858 0 # Node ID b869871813cc28d02f5686893eec8a184edc2ef7 # Parent b8e678e5c4dee07799825588896c86087012cfe8 (c-mode, c-fill-paragraph): Remove ^ from paragraph-start & paragraph-separate. diff -r b8e678e5c4de -r b869871813cc lisp/progmodes/c-mode.el --- a/lisp/progmodes/c-mode.el Wed Mar 01 15:43:27 1995 +0000 +++ b/lisp/progmodes/c-mode.el Wed Mar 01 15:47:38 1995 +0000 @@ -220,7 +220,7 @@ (setq local-abbrev-table c-mode-abbrev-table) (set-syntax-table c-mode-syntax-table) (make-local-variable 'paragraph-start) - (setq paragraph-start (concat "^$\\|" page-delimiter)) + (setq paragraph-start (concat "$\\|" page-delimiter)) (make-local-variable 'paragraph-separate) (setq paragraph-separate paragraph-start) (make-local-variable 'paragraph-ignore-fill-prefix) @@ -308,11 +308,11 @@ ;; should not be filled into paragraphs they are next to. (concat paragraph-start - "\\|^[ \t]*/\\*[ \t]*$\\|^[ \t]*\\*/[ \t]*$\\|^[ \t/*]*$")) + "\\|[ \t]*/\\*[ \t]*$\\|[ \t]*\\*/[ \t]*$\\|[ \t/*]*$")) (paragraph-separate (concat paragraph-separate - "\\|^[ \t]*/\\*[ \t]*$\\|^[ \t]*\\*/[ \t]*$\\|^[ \t/*]*$"))) + "\\|[ \t]*/\\*[ \t]*$\\|[ \t]*\\*/[ \t]*$\\|[ \t/*]*$"))) (save-excursion (beginning-of-line) ;; Move up to first line of this comment. @@ -419,11 +419,11 @@ ;; should not be filled into paragraphs they are next to. (concat paragraph-start - "\\|^[ \t]*/\\*[ \t]*$\\|^[ \t]*\\*/[ \t]*$\\|^[ \t/*]*$")) + "\\|[ \t]*/\\*[ \t]*$\\|[ \t]*\\*/[ \t]*$\\|[ \t/*]*$")) (paragraph-separate (concat paragraph-separate - "\\|^[ \t]*/\\*[ \t]*$\\|^[ \t]*\\*/[ \t]*$\\|^[ \t/*]*$")) + "\\|[ \t]*/\\*[ \t]*$\\|[ \t]*\\*/[ \t]*$\\|[ \t/*]*$")) (chars-to-delete 0)) (save-restriction ;; Don't fill the comment together with the code following it.