diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-29 04:08:19 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-29 04:08:19 -0400 |
| commit | a9113fb39a64a8dc442001b6f041631bc744e50f (patch) | |
| tree | 2280b96cf561ded4afc118b09d8272ce94c95e41 /modules/pdf-config.el | |
| parent | e606f1d6439b9aa688d95911024ccc7a8d073725 (diff) | |
| download | dotemacs-a9113fb39a64a8dc442001b6f041631bc744e50f.tar.gz dotemacs-a9113fb39a64a8dc442001b6f041631bc744e50f.zip | |
refactor: normalize module package headers and enforce them
The first-line header on 33 modules named the file without its .el extension (;;; font-config --- ... rather than ;;; font-config.el --- ...), the form checkdoc and package-lint expect and the other modules already use. I normalized all 33 to the canonical ;;; name.el --- summary shape. The change is line 1 only.
A new test, test-meta-package-headers.el, locks the convention. It checks every module for the canonical first line, Commentary before Code, a provide footer, and no BOM, and unit-tests the checker against each malformed shape so the guard itself is proven.
Diffstat (limited to 'modules/pdf-config.el')
| -rw-r--r-- | modules/pdf-config.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pdf-config.el b/modules/pdf-config.el index 56b397df..a5dc3c49 100644 --- a/modules/pdf-config.el +++ b/modules/pdf-config.el @@ -1,4 +1,4 @@ -;;; pdf-config --- PDF Viewer Setup -*- lexical-binding: t; coding: utf-8; -*- +;;; pdf-config.el --- PDF Viewer Setup -*- lexical-binding: t; coding: utf-8; -*- ;; author Craig Jennings <c@cjennings.net> ;;; Commentary: |
