summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-11-07 17:32:56 +0100
committerLudovic Courtès <ludo@gnu.org>2014-11-07 17:52:11 +0100
commit431e5f5a3ea1da2a0e1c58990d3c8f2860dbe7d0 (patch)
treefe5e9a99fdb2c8e33b450ac2817d7e88e6223770
parent17854ef91dd6b8e8956ef38bd7a7db59fb43f114 (diff)
downloadguix-431e5f5a3ea1da2a0e1c58990d3c8f2860dbe7d0.tar.gz
lint: Tolerate sentences that start with a parenthesis or a quote.
* guix/scripts/lint.scm (properly-starts-sentence?): Add (, ", and ' as
  valid beginnings.
-rw-r--r--guix/scripts/lint.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/lint.scm b/guix/scripts/lint.scm
index 35ab9aaf69..d6bfffda13 100644
--- a/guix/scripts/lint.scm
+++ b/guix/scripts/lint.scm
@@ -77,7 +77,7 @@
   (exit 0))
 
 (define (properly-starts-sentence? s)
-  (string-match "^[[:upper:][:digit:]]" s))
+  (string-match "^[(\"'[:upper:][:digit:]]" s))
 
 (define (check-description-style package)
   ;; Emit a warning if stylistic issues are found in the description of PACKAGE.