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-styles.el


From: Martin Stjernholm
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-styles.el
Date: Wed, 24 Sep 2003 09:56:27 -0400

Index: emacs/lisp/progmodes/cc-styles.el
diff -c emacs/lisp/progmodes/cc-styles.el:1.30 
emacs/lisp/progmodes/cc-styles.el:1.31
*** emacs/lisp/progmodes/cc-styles.el:1.30      Mon Sep  1 11:45:34 2003
--- emacs/lisp/progmodes/cc-styles.el   Wed Sep 24 09:56:27 2003
***************
*** 484,496 ****
--- 484,500 ----
    ;;
    ;; This function does not do any hidden buffer changes.
  
+   (interactive)
+ 
    (setq c-current-comment-prefix
        (if (listp c-comment-prefix-regexp)
            (cdr-safe (or (assoc major-mode c-comment-prefix-regexp)
                          (assoc 'other c-comment-prefix-regexp)))
          c-comment-prefix-regexp))
+ 
    (let ((comment-line-prefix
         (concat "[ \t]*\\(" c-current-comment-prefix "\\)[ \t]*")))
+ 
      (setq paragraph-start (concat comment-line-prefix
                                  c-paragraph-start
                                  "\\|"
***************
*** 508,513 ****
--- 512,518 ----
                              (default-value 'adaptive-fill-regexp)
                              "\\)")
                    "")))
+ 
      (when (boundp 'adaptive-fill-first-line-regexp)
        ;; XEmacs (20.x) adaptive fill mode doesn't have this.
        (make-local-variable 'adaptive-fill-first-line-regexp)




reply via email to

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