aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2004-03-02 22:19:19 +0000
committerStefan Monnier2004-03-02 22:19:19 +0000
commitf5e85051768ca7c42fdc32bbb17afd22e9abafa3 (patch)
treeac21f0f6bee4039d3d4888d02fd39431657f6523
parentd8d95bc7ac7b29cb3c00af92e8a8f1f062bd6d6d (diff)
downloademacs-f5e85051768ca7c42fdc32bbb17afd22e9abafa3.tar.gz
emacs-f5e85051768ca7c42fdc32bbb17afd22e9abafa3.zip
(fill-paragraph): Don't check comment-start-skip,
only comment-start (in case the mode hasn't set it).
-rw-r--r--lisp/textmodes/fill.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el
index 5aded4a85e8..69cb7fd8d06 100644
--- a/lisp/textmodes/fill.el
+++ b/lisp/textmodes/fill.el
@@ -1,6 +1,6 @@
1;;; fill.el --- fill commands for Emacs 1;;; fill.el --- fill commands for Emacs
2 2
3;; Copyright (C) 1985,86,92,94,95,96,97,1999,2001,02,2003 3;; Copyright (C) 1985,86,92,94,95,96,97,1999,2001,02,03,2004
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
@@ -732,7 +732,7 @@ If `fill-paragraph-function' is nil, return the `fill-prefix' used for filling."
732 ;; Then try our syntax-aware filling code. 732 ;; Then try our syntax-aware filling code.
733 (and fill-paragraph-handle-comment 733 (and fill-paragraph-handle-comment
734 ;; Our code only handles \n-terminated comments right now. 734 ;; Our code only handles \n-terminated comments right now.
735 comment-start comment-start-skip (equal comment-end "") 735 comment-start (equal comment-end "")
736 (let ((fill-paragraph-handle-comment nil)) 736 (let ((fill-paragraph-handle-comment nil))
737 (fill-comment-paragraph arg))) 737 (fill-comment-paragraph arg)))
738 ;; If it all fails, default to the good ol' text paragraph filling. 738 ;; If it all fails, default to the good ol' text paragraph filling.