[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/textmodes/fill.el
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/textmodes/fill.el |
Date: |
Tue, 22 Jul 2003 16:39:22 -0400 |
Index: emacs/lisp/textmodes/fill.el
diff -c emacs/lisp/textmodes/fill.el:1.163 emacs/lisp/textmodes/fill.el:1.164
*** emacs/lisp/textmodes/fill.el:1.163 Wed Apr 30 17:01:05 2003
--- emacs/lisp/textmodes/fill.el Tue Jul 22 16:39:22 2003
***************
*** 1,6 ****
;;; fill.el --- fill commands for Emacs
! ;; Copyright (C) 1985,86,92,94,95,96,97,1999,2001,2002
;; Free Software Foundation, Inc.
;; Maintainer: FSF
--- 1,6 ----
;;; fill.el --- fill commands for Emacs
! ;; Copyright (C) 1985,86,92,94,95,96,97,1999,2001,02,2003
;; Free Software Foundation, Inc.
;; Maintainer: FSF
***************
*** 785,791 ****
;; Narrow to include only the comment, and then fill the region.
(let* ((fill-prefix fill-prefix)
! (comment-re (concat "[ \t]*\\(?:" comment-start-skip "\\)"))
(comment-fill-prefix ; Compute a fill prefix.
(save-excursion
(goto-char comstart)
--- 785,802 ----
;; Narrow to include only the comment, and then fill the region.
(let* ((fill-prefix fill-prefix)
! (commark
! (comment-string-strip (buffer-substring comstart comin) nil t))
! (comment-re
! (if (string-match comment-start-skip (concat commark "a"))
! (concat "[ \t]*" (regexp-quote commark)
! ;; Make sure we only match comments that use
! ;; the exact same comment marker.
! "[^" (substring commark -1) "]")
! ;; If the commark needs to be followed by some special
! ;; set of characters (like @c in TeXinfo), we can't
! ;; rely just on `commark'.
! (concat "[ \t]*\\(?:" comment-start-skip "\\)")))
(comment-fill-prefix ; Compute a fill prefix.
(save-excursion
(goto-char comstart)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/textmodes/fill.el,
Stefan Monnier <=