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
commit751253090367f957bba5fa57d9a18ce963aa51ce (patch)
treeace7791a52afa1356a322c1704df028c588c8677 /modules/ui-theme.el
parent10e983b5c2c351ee9ce4f12557195f1fa8037ff4 (diff)
downloaddotemacs-751253090367f957bba5fa57d9a18ce963aa51ce.tar.gz
dotemacs-751253090367f957bba5fa57d9a18ce963aa51ce.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