From: Mark Wooding Date: Fri, 15 Sep 2017 10:03:25 +0000 (+0100) Subject: skelrc: Change the fill-column semantics. X-Git-Tag: 1.3.0.1~1 X-Git-Url: https://git.distorted.org.uk/~mdw/skel/commitdiff_plain/fb0894efa5ab3c2bf0261fdf74fd8e4de83af544 skelrc: Change the fill-column semantics. Now the stated column excludes the width of the prefix string, so licence rubrics look the same regardless of a project's comment convention. Reduce the default width a bit to compensate. --- diff --git a/skelrc b/skelrc index c3bc16e..00b4412 100644 --- a/skelrc +++ b/skelrc @@ -106,7 +106,7 @@ the PREFIX is removed." (regexp-quote expanded-prefix)) "[ \t\f]*$")) (paragraph-separate paragraph-start) - (fill-column col)) + (fill-column (+ col (length expanded-prefix)))) (insert (skelrc-prefix-lines expanded-prefix expanded-text)) @@ -196,7 +196,7 @@ option) any later version.")) (licence-banner . (skelrc-banner "Licensing notice" t)) (component . (skelrc-component)) (licence-text . "[[gpl]]") - (fill-column . "72") + (fill-column . "70") (Short-name . (or (skelrc-assq 'Library skel-alist) (skelrc-assq 'library skel-alist) (skelrc-assq 'Program skel-alist)