diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2004-03-02 22:19:19 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2004-03-02 22:19:19 +0000 |
commit | f5e85051768ca7c42fdc32bbb17afd22e9abafa3 (patch) | |
tree | ac21f0f6bee4039d3d4888d02fd39431657f6523 | |
parent | d8d95bc7ac7b29cb3c00af92e8a8f1f062bd6d6d (diff) | |
download | emacs-f5e85051768ca7c42fdc32bbb17afd22e9abafa3.tar.gz |
(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.el | 4 |
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 @@ ;;; 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. |