emacs-diffs
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]