aboutsummaryrefslogtreecommitdiff
path: root/modules/ui-theme.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-20 11:25:36 -0400
committerCraig Jennings <c@cjennings.net>2026-06-20 11:25:36 -0400
commited7e6b2a89fc31d2e23f2c53f8af49d3ff00586d (patch)
tree71b01b243c0dc77bde73d0311a199a8ffed68e2d /modules/ui-theme.el
parentbf70e90d04875905f8fc749df6fb3798a5080b57 (diff)
downloaddotemacs-ed7e6b2a89fc31d2e23f2c53f8af49d3ff00586d.tar.gz
dotemacs-ed7e6b2a89fc31d2e23f2c53f8af49d3ff00586d.zip
refactor: remove dead wrappers and commented-out blocks
Drop cj/apply-browser-choice (browser-config) and cj/load-fallback-theme (ui-theme), orphaned wrappers with no caller that just duplicated logic the live paths already inline, plus their tests. Delete commented-out blocks: a duplicate contact capture template (org-contacts-config), a disabled personal-info-dir :init (help-config), a stale TODO setq (org-config), and an old commented regex (test-runner).
Diffstat (limited to 'modules/ui-theme.el')
-rw-r--r--modules/ui-theme.el6
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/ui-theme.el b/modules/ui-theme.el
index 8be3b4fdf..eb4efd9b5 100644
--- a/modules/ui-theme.el
+++ b/modules/ui-theme.el
@@ -139,12 +139,6 @@ Returns fallback-theme-name if no theme is active."
(message "Cannot save theme: %s is unwriteable" theme-file)
(message "%s theme saved to %s" (cj/get-active-theme-name) theme-file)))
-(defun cj/load-fallback-theme (msg)
- "Display MSG and load ui-theme fallback-theme-name.
-Used to handle errors with loading persisted theme."
- (cj/theme-disable-all)
- (cj/theme-load-fallback msg))
-
(defun cj/load-theme-from-file ()
"Apply the theme name contained in theme-file as the active UI theme.
If the theme is nil, it disables all current themes. If an error occurs