[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 5c5aa78d: Fix doc string
From: |
Ikumi Keita |
Subject: |
master 5c5aa78d: Fix doc string |
Date: |
Sun, 21 Aug 2022 03:35:32 -0400 (EDT) |
branch: master
commit 5c5aa78de083144fddf0509fc999796cc4818db9
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>
Fix doc string
* tex.el (TeX-dialect):
(TeX-unload-style):
Fix doc string so that the first line consists of a complete sentence.
---
tex.el | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/tex.el b/tex.el
index 8e3388bb..1497f228 100644
--- a/tex.el
+++ b/tex.el
@@ -2743,10 +2743,10 @@ Used when checking if any files have changed."
(define-obsolete-variable-alias 'LaTeX-dialect 'TeX-dialect "13.0")
(defconst TeX-dialect :latex
- "Default dialect for use with function `TeX-add-style-hook' for
-argument DIALECT-EXPR when the hook is to be run only on LaTeX
-file, or any mode derived thereof. See variable
-`TeX-style-hook-dialect'." )
+ "Default dialect for use with function `TeX-add-style-hook'.
+This applies to the argument DIALECT-EXPR when the hook is to be
+run only on LaTeX file, or any mode derived thereof. See
+variable `TeX-style-hook-dialect'." )
(defvar TeX-style-hook-list nil
"List of TeX style hooks currently loaded.
@@ -2945,8 +2945,9 @@ found in DIALECT-LIST and return the list thereof."
ret)))
(defun TeX-unload-style (style &optional dialect-list)
- "Forget that we once loaded STYLE. If DIALECT-LIST is provided
-the STYLE is only removed for those dialects in DIALECT-LIST.
+ "Forget that we once loaded STYLE.
+If DIALECT-LIST is provided, the STYLE is only removed for those
+dialects in DIALECT-LIST.
See variable `TeX-style-hook-dialect' for supported dialects."
(let ((style-data (assoc-string style TeX-style-hook-list)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 5c5aa78d: Fix doc string,
Ikumi Keita <=