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
commitc74396ff79d527fcc61b894f4434725a07c5a2e9 (patch)
treea3cb604850fcf3b98ad8f0955536bfbd8d8385ce /modules/browser-config.el
parent0ee61aba411e2abeee676ca802206cfc1676e04f (diff)
downloaddotemacs-c74396ff79d527fcc61b894f4434725a07c5a2e9.tar.gz
dotemacs-c74396ff79d527fcc61b894f4434725a07c5a2e9.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