]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix documentation of a recent commit
authorEli Zaretskii <eliz@gnu.org>
Wed, 16 Apr 2025 07:17:30 +0000 (10:17 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 16 Apr 2025 07:39:27 +0000 (09:39 +0200)
* lisp/textmodes/markdown-ts-mode.el (markdown-ts-delimiter)
(markdown-ts-heading-1, markdown-ts-setext-heading)
(markdown-ts-heading-2, markdown-ts-heading-3)
(markdown-ts-heading-4, markdown-ts-heading-5)
(markdown-ts-heading-6, markdown-ts-list-marker)
(markdown-ts-block-quote, markdown-ts-language-keyword)
(markdown-ts--configured-languages): Doc fixes.

(cherry picked from commit 179c6931c57700d842179eb193369de1587287ee)

lisp/textmodes/markdown-ts-mode.el

index 239dca3d8686982f32927dc257718b7818bc1f11..071d986f1ffcf5a4efe315b38e043251b63d6d98 100644 (file)
@@ -64,37 +64,37 @@ maps to tree-sitter language `cpp'.")
   :group 'faces)
 
 (defface markdown-ts-delimiter '((t (:inherit shadow)))
-  "Face for the # before headings.")
+  "Face for the # before Markdown headings.")
 
 (defface markdown-ts-heading-1 '((t (:inherit outline-1)))
-  "Face for first level headings.")
+  "Face for first level Markdown headings.")
 
 (defface markdown-ts-setext-heading '((t (:inherit markdown-ts-heading-1)))
-  "Face for setext headings (headings underlined by === or ---).")
+  "Face for setext Markdown headings (headings underlined by === or ---).")
 
 (defface markdown-ts-heading-2 '((t (:inherit outline-2)))
-  "Face for second level headings.")
+  "Face for second level Markdown headings.")
 
 (defface markdown-ts-heading-3 '((t (:inherit outline-3)))
-  "Face for third level headings.")
+  "Face for third level Markdown headings.")
 
 (defface markdown-ts-heading-4 '((t (:inherit outline-4)))
-  "Face for fourth level headings.")
+  "Face for fourth level Markdown headings.")
 
 (defface markdown-ts-heading-5 '((t (:inherit outline-5)))
-  "Face for fifth level headings.")
+  "Face for fifth level Markdown headings.")
 
 (defface markdown-ts-heading-6 '((t (:inherit outline-6)))
-  "Face for sixth level headings.")
+  "Face for sixth level Markdown headings.")
 
 (defface markdown-ts-list-marker '((t (:inherit font-lock-keyword-face)))
-  "Face for list markers like - and *.")
+  "Face for Markdown list markers like - and *.")
 
 (defface markdown-ts-block-quote '((t (:inherit font-lock-string-face)))
-  "Face for block quotes.")
+  "Face for Markdown block quotes.")
 
 (defface markdown-ts-language-keyword '((t (:inherit font-lock-keyword-face)))
-  "Face for the language keyword for code blocks.")
+  "Face for the language keyword for Markdown code blocks.")
 
 ;;; Font-lock
 
@@ -182,9 +182,9 @@ maps to tree-sitter language `cpp'.")
 (defvar-local markdown-ts--configured-languages nil
   "A list of languages that have been setup in this buffer.
 
-When a code block of a language appear, `markdown-ts-mode' loads
+When a code block of a language appears, `markdown-ts-mode' loads
 language setups like font-lock and indentation for that language, and
-add that language to this list.")
+adds that language to this list.")
 
 (defun markdown-ts--harvest-treesit-configs (mode)
   "Harvest tree-sitter configs from MODE.