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
commit38e96ffdf48a41f14f860363add135551696cb6c (patch)
tree9d75d3ba0f5aa77b650f1bd0793a15a7a405b86c /modules/ui-theme.el
parent42c84968a580a65dad14b5d1715e049617219999 (diff)
downloaddotemacs-38e96ffdf48a41f14f860363add135551696cb6c.tar.gz
dotemacs-38e96ffdf48a41f14f860363add135551696cb6c.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 8be3b4fd..eb4efd9b 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