335 |
comment-start-skip "/\\*+ *\\|//+ *" |
comment-start-skip "/\\*+ *\\|//+ *" |
336 |
comment-multi-line t) |
comment-multi-line t) |
337 |
|
|
338 |
|
;; Install `c-fill-paragraph' on `fill-paragraph-function' so that a |
339 |
|
;; direct call to `fill-paragraph' behaves better. This still |
340 |
|
;; doesn't work with filladapt but it's better than nothing. |
341 |
|
(make-local-variable 'fill-paragraph-function) |
342 |
|
(setq fill-paragraph-function 'c-fill-paragraph) |
343 |
|
|
344 |
;; Set `require-final-newline' only if we should. |
;; Set `require-final-newline' only if we should. |
345 |
(let ((rfn (assq mode c-require-final-newline))) |
(let ((rfn (assq mode c-require-final-newline))) |
346 |
(when rfn |
(when rfn |