aboutsummaryrefslogtreecommitdiff
path: root/modules/browser-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-28 04:00:48 -0400
committerCraig Jennings <c@cjennings.net>2026-06-28 04:00:48 -0400
commit0e8092e335879e44209ad5a16dd170f3331d938c (patch)
treee4f5f9a856da3f9358f5b326673ace5b29bfb52b /modules/browser-config.el
parent0dca0141200ce14cba5e9e65d7291ef5144c8cfd (diff)
downloaddotemacs-0e8092e335879e44209ad5a16dd170f3331d938c.tar.gz
dotemacs-0e8092e335879e44209ad5a16dd170f3331d938c.zip
docs: normalize generated-file headers and prune obvious comments
The theme-studio and browser-choice generators now stamp their output with a header that names the authoritative source and says to regenerate rather than hand-edit. I regenerated both files to match. I also deleted six obvious "describe the next form" comments, replaced two stale placeholders in titlecase.el and an incomplete FIXME in org-checklist.el with real rationale, and condensed early-init's header and Commentary.
Diffstat (limited to 'modules/browser-config.el')
-rw-r--r--modules/browser-config.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/browser-config.el b/modules/browser-config.el
index d596b9e9d..564e7a275 100644
--- a/modules/browser-config.el
+++ b/modules/browser-config.el
@@ -76,7 +76,10 @@ Includes built-in Emacs browsers (those with nil executable)."
(defun cj/save-browser-choice (browser-plist)
"Save BROWSER-PLIST to the persistence file."
(with-temp-file cj/browser-choice-file
- (insert ";;; Browser choice - Auto-generated\n")
+ (insert ";;; browser-choice.el --- Generated browser selection -*- lexical-binding: t; -*-\n")
+ (insert ";;\n")
+ (insert ";; Generated by browser-config.el. Do not edit by hand; use\n")
+ (insert ";; `cj/choose-browser' to rewrite this file.\n")
(insert (format "(setq cj/saved-browser-choice '%S)\n" browser-plist))))
(defun cj/load-browser-choice ()
@@ -102,7 +105,6 @@ Returns: \\='success if applied successfully,
(program-var (plist-get browser-plist :program-var)))
(if (null browse-fn)
'invalid-plist
- ;; Set the main browse-url function
(setq browse-url-browser-function browse-fn)
;; Set the specific browser program variable if it exists
(when program-var