From fb0894efa5ab3c2bf0261fdf74fd8e4de83af544 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Fri, 15 Sep 2017 11:03:25 +0100 Subject: [PATCH] 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. --- skelrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.11.0