]> git.eshelyaron.com Git - emacs.git/commitdiff
(fill-paragraph): Don't check comment-start-skip,
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 2 Mar 2004 22:19:19 +0000 (22:19 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 2 Mar 2004 22:19:19 +0000 (22:19 +0000)
only comment-start (in case the mode hasn't set it).

lisp/textmodes/fill.el

index 5aded4a85e8663043c3454c2a1184b781f64b19b..69cb7fd8d0619e275c5e394088c731e0f4bed708 100644 (file)
@@ -1,6 +1,6 @@
 ;;; fill.el --- fill commands for Emacs
 
-;; Copyright (C) 1985,86,92,94,95,96,97,1999,2001,02,2003
+;; Copyright (C) 1985,86,92,94,95,96,97,1999,2001,02,03,2004
 ;;               Free Software Foundation, Inc.
 
 ;; Maintainer: FSF
@@ -732,7 +732,7 @@ If `fill-paragraph-function' is nil, return the `fill-prefix' used for filling."
       ;; Then try our syntax-aware filling code.
       (and fill-paragraph-handle-comment
           ;; Our code only handles \n-terminated comments right now.
-          comment-start comment-start-skip (equal comment-end "")
+          comment-start (equal comment-end "")
           (let ((fill-paragraph-handle-comment nil))
             (fill-comment-paragraph arg)))
       ;; If it all fails, default to the good ol' text paragraph filling.