aboutsummaryrefslogtreecommitdiff
path: root/tests/test-org-config-keymap-ownership.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-24 09:51:38 -0400
committerCraig Jennings <c@cjennings.net>2026-06-24 09:51:38 -0400
commitf938918a129a22f218a7866f1a57de27cdae4ef2 (patch)
tree2c1e57dd48821c761e46d0c435f27b267adacd35 /tests/test-org-config-keymap-ownership.el
parent06f35c82401a31c4a97d07bee2dea3e857ea2fbe (diff)
downloaddotemacs-f938918a129a22f218a7866f1a57de27cdae4ef2.tar.gz
dotemacs-f938918a129a22f218a7866f1a57de27cdae4ef2.zip
chore(elisp): clear byte-compile warnings (org, music, org-roam)
Move own-command bindings out of use-package :bind to keymap-global-set / with-eval-after-load (C-c C-a org-appear-toggle, R music radio-station, C-c n r/t roam recipe/topic) — same keys, verified live. Pull music-config helper defuns out of :config/with-eval-after-load to top level (their proper home; emms referenced only at call time via declare-function). Swap obsolete org-show-all for org-fold-show-all (9.6). Plus declare-function/defvar for lazy symbols. No behavior change; full suite + launch smoke green. Claude-Session: https://claude.ai/code/session_01BqrdWUo9GcznYX2pZr76gZ
Diffstat (limited to 'tests/test-org-config-keymap-ownership.el')
-rw-r--r--tests/test-org-config-keymap-ownership.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-org-config-keymap-ownership.el b/tests/test-org-config-keymap-ownership.el
index 729d497c..81f1ccd4 100644
--- a/tests/test-org-config-keymap-ownership.el
+++ b/tests/test-org-config-keymap-ownership.el
@@ -60,14 +60,14 @@ at the top level."
"Sparse-tree commands sit directly under `C-; O' (flat).
Lowercase creates, capital of the same letter cancels: `s' /
`S' for match-sparse-tree, `t' / `T' for show-todo-tree. Both
-capitals resolve to `org-show-all' -- the user's mental model is
+capitals resolve to `org-fold-show-all' -- the user's mental model is
\"capital cancels the lowercase I just ran\" without having to
remember which letter the cancel actually lives on. `R' is
`org-reveal' (no lowercase pair -- `r' is the table-row sub-prefix)."
(should (eq (keymap-lookup cj/org-map "s") #'org-match-sparse-tree))
- (should (eq (keymap-lookup cj/org-map "S") #'org-show-all))
+ (should (eq (keymap-lookup cj/org-map "S") #'org-fold-show-all))
(should (eq (keymap-lookup cj/org-map "t") #'org-show-todo-tree))
- (should (eq (keymap-lookup cj/org-map "T") #'org-show-all))
+ (should (eq (keymap-lookup cj/org-map "T") #'org-fold-show-all))
(should (eq (keymap-lookup cj/org-map "R") #'org-reveal)))
(ert-deftest test-org-config-keymap-ownership-regression-no-duplicate-org-keymap ()