Skip to content

Give every module the same header and footer - #1498

Merged
bbatsov merged 1 commit into
masterfrom
module-headers
Nov 24, 2026
Merged

bbatsov merged 1 commit into
masterfrom
module-headers

Conversation

@bbatsov

@bbatsov bbatsov commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Normalizes the first line, the URL line and the footer of every module, rewords the comments that used double dashes, and adds a test that enforces all of it.

The modules contributed by others without a copyright line (F#, Go, Rust, literate programming) are left without one, since adding a copyright holder isn't a formatting decision.

The modules had drifted apart: some first lines lacked the "Emacs
Prelude:" prefix, some files had no URL line, most had a blank line
between provide and the ends-here line, prelude-evil.el had no
ends-here line at all and prelude-helm-everywhere.el a malformed one.
A few comments used double dashes, which the rest of the code avoids.

A test keeps them in line from now on. The copyright lines are left
as they are, as a few of the modules were written by others.
@bbatsov
bbatsov merged commit 26afd5a into master Nov 24, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant