[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 07/10: Improve ‘(ice-9 documentation) file-commentary’
From: |
Thien-Thi Nguyen |
Subject: |
[Guile-commits] 07/10: Improve ‘(ice-9 documentation) file-commentary’ default scrub proc |
Date: |
Fri, 3 Mar 2017 04:17:05 -0500 (EST) |
ttn pushed a commit to branch branch_release-1-8
in repository guile.
commit ec27e23318f09b17c0e65e9ea0c3c028389ae0fb
Author: Thien-Thi Nguyen <address@hidden>
Date: Fri Mar 3 06:49:12 2017 +0100
Improve ‘(ice-9 documentation) file-commentary’ default scrub proc
Long-standing oversight. The Commentary lines almost always
include at least one space following the bol semicolons.
* ice-9/documentation.scm (file-commentary): In the default
scrub proc, append "zero or one space char" to the ‘dirt’ regexp.
---
ice-9/documentation.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ice-9/documentation.scm b/ice-9/documentation.scm
index 6e74799..dacd0c7 100644
--- a/ice-9/documentation.scm
+++ b/ice-9/documentation.scm
@@ -100,7 +100,7 @@
;;
(define default-in-line-re (make-regexp "^;;; Commentary:"))
(define default-after-line-re (make-regexp "^;;; Code:"))
- (define default-scrub (let ((dirt (make-regexp "^;+")))
+ (define default-scrub (let ((dirt (make-regexp "^;+ ?")))
(lambda (line)
(let ((m (regexp-exec dirt line)))
(if m (match:suffix m) line)))))
- [Guile-commits] branch branch_release-1-8 updated (579b604 -> 9f3004b), Thien-Thi Nguyen, 2017/03/03
- [Guile-commits] 02/10: [build int] Add abstraction: CONFIG_SCRIPT, Thien-Thi Nguyen, 2017/03/03
- [Guile-commits] 06/10: [libguile] Fix bug: Don't expect ‘send’ string to be writable, Thien-Thi Nguyen, 2017/03/03
- [Guile-commits] 07/10: Improve ‘(ice-9 documentation) file-commentary’ default scrub proc,
Thien-Thi Nguyen <=
- [Guile-commits] 01/10: Rename configure.in to configure.ac, twice, Thien-Thi Nguyen, 2017/03/03
- [Guile-commits] 04/10: [build int] Remove EOF "Local Variables" block; nfc, Thien-Thi Nguyen, 2017/03/03
- [Guile-commits] 05/10: [build int] Add more 'AC_LANG_PROGRAM' calls, Thien-Thi Nguyen, 2017/03/03
- [Guile-commits] 10/10: [maint] Update years in copyright notice; nfc, Thien-Thi Nguyen, 2017/03/03
- [Guile-commits] 08/10: [build doc] Accomodate whitespace-injecting makeinfo, Thien-Thi Nguyen, 2017/03/03
- [Guile-commits] 09/10: [doc] Clean up .texi for modern GNU Texinfo, Thien-Thi Nguyen, 2017/03/03
- [Guile-commits] 03/10: [build int] Dose configure.ac w/ "proper" m4-quoting, Thien-Thi Nguyen, 2017/03/03