diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-15 13:58:04 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-15 13:58:04 -0500 |
| commit | a4add68ff8a4d84034f0412acd30b3494a24acad (patch) | |
| tree | b579ab6a35ab182db083479e57eec6eabf0eabff /tests | |
| parent | f0bf56d1ee2cd48a4e0f835d4524c31ea4da13c7 (diff) | |
| download | dotemacs-a4add68ff8a4d84034f0412acd30b3494a24acad.tar.gz dotemacs-a4add68ff8a4d84034f0412acd30b3494a24acad.zip | |
feat(face-diagnostic): bind cj/describe-face-at-point to C-h F
Bind the diagnostic in the help cluster on C-h F (Face), Craig's pick. It shadows helpful-function, which also sits on C-h F in this config. face-diagnostic is required after help-config, so this binding wins. A test asserts C-h F resolves to the command.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test-face-diagnostic.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test-face-diagnostic.el b/tests/test-face-diagnostic.el index f75d5b679..241425fc5 100644 --- a/tests/test-face-diagnostic.el +++ b/tests/test-face-diagnostic.el @@ -322,5 +322,11 @@ (should (string-match-p "Face stack" (buffer-string))))) (when (buffer-live-p buf) (kill-buffer buf)))))) +;;; keybinding + +(ert-deftest test-face-diag-bound-on-c-h-F () + "Normal: loading the module binds C-h F to the diagnostic command." + (should (eq (keymap-lookup help-map "F") 'cj/describe-face-at-point))) + (provide 'test-face-diagnostic) ;;; test-face-diagnostic.el ends here |
