From: Stefan Monnier Date: Tue, 2 Mar 2004 22:19:19 +0000 (+0000) Subject: (fill-paragraph): Don't check comment-start-skip, X-Git-Tag: ttn-vms-21-2-B4~7374 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f5e85051768ca7c42fdc32bbb17afd22e9abafa3;p=emacs.git (fill-paragraph): Don't check comment-start-skip, only comment-start (in case the mode hasn't set it). --- 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 @@ ;;; 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.