diff options
author | Thomas Voss <mail@thomasvoss.com> | 2025-06-04 17:59:48 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2025-06-04 17:59:48 +0200 |
commit | da30747561df84f158b1c8634a6d164880d70297 (patch) | |
tree | 192217f69aa4c43b897cc7486780274add69ef5e | |
parent | 06c5d1ee8026d0f7b90d12e0a28a424f2d4aa376 (diff) |
Fix ‘:group’ usage
-rw-r--r-- | xcompose-mode.el | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/xcompose-mode.el b/xcompose-mode.el index 2f0e323..7f3bbb3 100644 --- a/xcompose-mode.el +++ b/xcompose-mode.el @@ -54,42 +54,42 @@ (defface xcompose-angle-face '((t (:inherit bold))) "Face for the angle brackets (<>) around key-names." - :group 'xcompose-mode) + :group 'xcompose) (defface xcompose-keys-face '((t (:inherit font-lock-constant-face))) "Face for the key names." - :group 'xcompose-mode) + :group 'xcompose) (defface xcompose-string-face '((t (:inherit font-lock-string-face))) "Face for the quoted strings containing the character(s) to be produced." - :group 'xcompose-mode) + :group 'xcompose) (defface xcompose-number-face '((t (:inherit font-lock-preprocessor-face :weight bold))) "Face for the hex numbers identifying the code-point." - :group 'xcompose-mode) + :group 'xcompose) (defface xcompose-colon-face '((t (:inherit bold))) "Face for the \":\" separating the keystrokes from the character string." - :group 'xcompose-mode) + :group 'xcompose) (defface xcompose-keyword-face '((t (:inherit font-lock-keyword-face))) "Face for keywords." - :group 'xcompose-mode) + :group 'xcompose) (defface xcompose-modifier-face '((t (:inherit font-lock-keyword-face))) "Face for modifiers." - :group 'xcompose-mode) + :group 'xcompose) (defface xcompose-modifier-prefix-face '((t . ())) "Face for modifier prefixes." - :group 'xcompose-mode) + :group 'xcompose) ;;; Customisable Variables @@ -206,6 +206,7 @@ "Major mode for .XCompose files \\{xcompose-mode-map}" + :group 'xcompose (font-lock-add-keywords nil xcompose-font-lock-keywords) (setq-local comment-start "# " comment-start-skip "#+\\s-*" |