[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-cmds.el
From: |
Martin Stjernholm |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-cmds.el |
Date: |
Mon, 22 Apr 2002 18:35:47 -0400 |
Index: emacs/lisp/progmodes/cc-cmds.el
diff -c emacs/lisp/progmodes/cc-cmds.el:1.26
emacs/lisp/progmodes/cc-cmds.el:1.27
*** emacs/lisp/progmodes/cc-cmds.el:1.26 Sun Apr 21 20:35:36 2002
--- emacs/lisp/progmodes/cc-cmds.el Mon Apr 22 18:35:45 2002
***************
*** 2900,2906 ****
;; The region includes the comment starter.
(save-excursion
(goto-char (car c-lit-limits))
! (if (looking-at (concat "\\(" comment-start-skip "\\)$"))
;; Begin with the next line.
(setq beg (c-point 'bonl))
;; Fake the fill prefix in the first line.
--- 2900,2907 ----
;; The region includes the comment starter.
(save-excursion
(goto-char (car c-lit-limits))
! (if (and (looking-at (concat "\\(" comment-start-skip "\\)$"))
! (> here (match-end 0)))
;; Begin with the next line.
(setq beg (c-point 'bonl))
;; Fake the fill prefix in the first line.