diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-11-09 11:57:53 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-11-09 11:57:53 +0100 |
commit | 913fdafb11b2422d31f744742ef1c3805f230fd9 (patch) | |
tree | 7ebc14e3c4ac12d401fe2da3171e7cebcaffdf6c /.config | |
parent | fa6a5e38b79209354269ce69f22942f648410f83 (diff) |
emacs: Add docstrings
Diffstat (limited to '.config')
-rw-r--r-- | .config/emacs/modules/mm-modeline.el | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.config/emacs/modules/mm-modeline.el b/.config/emacs/modules/mm-modeline.el index 4b4f0e0..b19a56d 100644 --- a/.config/emacs/modules/mm-modeline.el +++ b/.config/emacs/modules/mm-modeline.el @@ -39,7 +39,7 @@ (defconst mm-modeline-mode-acronyms '("css" "csv" "gsp" "html" "json" "mhtml" "scss" "toml" "tsv") - "TODO") + "List of acronyms in major mode names that should be capitalized.") (defconst mm-modeline-remap-alist '(("Bmenu" . "BMenu") @@ -48,7 +48,12 @@ ("Imake" . "IMake") ("Js" . "JavaScript") ("Ts Mode" . "Tree-Sitter Mode")) - "TODO") + "Alist of substrings in major mode names that should be remapped. +Some major modes have substrings that would be better displayed in +another manner. For example expanding an abbreviation such as ‘Js’ to +its expanded form ‘JavaScript’, or fixing the casing of words with a +prefix such as ‘Gmake’ to ‘GMake’. This alist maps the original text to +the text it should be mapped to.") (mm-modeline--define-component mm-modeline-major-mode-name (propertize |