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
commitc12da2adf567a1a3df570b00a9b46579f5c257ba (patch)
treea2d4a02fc34dc9d06575c47a455b5fd3bace004a /modules/browser-config.el
parentcb4d0381c37244275fef15c8a35dccf9b9bcac68 (diff)
downloaddotemacs-c12da2adf567a1a3df570b00a9b46579f5c257ba.tar.gz
dotemacs-c12da2adf567a1a3df570b00a9b46579f5c257ba.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