emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex 5c5aa78de0 71/77: Fix doc string


From: Tassilo Horn
Subject: [elpa] externals/auctex 5c5aa78de0 71/77: Fix doc string
Date: Fri, 26 Aug 2022 16:06:38 -0400 (EDT)

branch: externals/auctex
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 8e3388bb94..1497f2281c 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]