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 | 3f46bda7047a3b6bb9fe778887174209b835d504 (patch) | |
| tree | 2340127103b34adde07d87579401e3135b37c745 /modules/erc-config.el | |
| parent | 613b6d11e89e0395ec64f771f36ec0bb2ab517e0 (diff) | |
| download | dotemacs-3f46bda7047a3b6bb9fe778887174209b835d504.tar.gz dotemacs-3f46bda7047a3b6bb9fe778887174209b835d504.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/erc-config.el')
| -rw-r--r-- | modules/erc-config.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/erc-config.el b/modules/erc-config.el index 4eac812c4..57d4eb567 100644 --- a/modules/erc-config.el +++ b/modules/erc-config.el @@ -1,4 +1,4 @@ -;;; erc-config --- Preferences for Emacs Relay Chat (IRC Client) -*- lexical-binding: t; coding: utf-8; -*- +;;; erc-config.el --- Preferences for Emacs Relay Chat (IRC Client) -*- lexical-binding: t; coding: utf-8; -*- ;; author Craig Jennings <c@cjennings.net> ;; ;;; Commentary: |
