-
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite generate.el in "insert style"
Rather than build up big strings to insert, just insert as we go. Although this is best practice in Emacs for efficiency, that's mostly N/A for this doc build process. Instead I think the code is just clearer and simpler. Yes it's imperative not functional, but this is about output. Also, because this runs just in a batch Emacs process, don't worry too much about namespace prefixing names (aside from defvar where the byte compiler would warn). The shorter names further simplify writing and reading the code.
- Loading branch information
1 parent
69dd900
commit e7e121a
Showing
2 changed files
with
111 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.