[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-mode.el
From: |
Martin Stjernholm |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-mode.el |
Date: |
Sat, 08 Feb 2003 20:44:36 -0500 |
Index: emacs/lisp/progmodes/cc-mode.el
diff -c emacs/lisp/progmodes/cc-mode.el:1.23
emacs/lisp/progmodes/cc-mode.el:1.24
*** emacs/lisp/progmodes/cc-mode.el:1.23 Mon Jan 27 19:41:21 2003
--- emacs/lisp/progmodes/cc-mode.el Sat Feb 8 20:44:35 2003
***************
*** 335,340 ****
--- 335,346 ----
comment-start-skip "/\\*+ *\\|//+ *"
comment-multi-line t)
+ ;; Install `c-fill-paragraph' on `fill-paragraph-function' so that a
+ ;; direct call to `fill-paragraph' behaves better. This still
+ ;; doesn't work with filladapt but it's better than nothing.
+ (make-local-variable 'fill-paragraph-function)
+ (setq fill-paragraph-function 'c-fill-paragraph)
+
;; Set `require-final-newline' only if we should.
(let ((rfn (assq mode c-require-final-newline)))
(when rfn
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-mode.el,
Martin Stjernholm <=