[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 6bd2185f19 03/10: ; Fix docstrings in style/titl
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 6bd2185f19 03/10: ; Fix docstrings in style/titletoc.el |
Date: |
Thu, 18 Jan 2024 04:26:44 -0500 (EST) |
branch: externals/auctex
commit 6bd2185f19b5824d6e0990f0d470a17b8abd9745
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
; Fix docstrings in style/titletoc.el
* style/titletoc.el (LaTeX-titletoc-section-command-list)
(LaTeX-titletoc-auto-cleanup): Fix docstrings.
---
style/titletoc.el | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/style/titletoc.el b/style/titletoc.el
index 4b32a57d3d..fb0b6897d0 100644
--- a/style/titletoc.el
+++ b/style/titletoc.el
@@ -1,6 +1,6 @@
;;; titletoc.el --- AUCTeX style for `titletoc.sty' (v1.6) -*-
lexical-binding: t; -*-
-;; Copyright (C) 2016--2023 Free Software Foundation, Inc.
+;; Copyright (C) 2016--2024 Free Software Foundation, Inc.
;; Author: Arash Esbati <arash@gnu.org>
;; Maintainer: auctex-devel@gnu.org
@@ -54,10 +54,10 @@ Other environments producing a \"Table of ENVIRONMENT\"
(figure,
table) are also available in this variable.")
(defun LaTeX-titletoc-section-command-list ()
- "Remove \"chapter\" from variable
-`LaTeX-titletoc-section-command-list' and return the remainder.
-Removal is based on the return value of function
-`LaTeX-largest-level'."
+ "Return a list of appropriate sectioning commands.
+Commands are collected from the variable
+`LaTeX-titletoc-section-command-list' and selected based on the
+return value of the function `LaTeX-largest-level'."
(if (< (LaTeX-largest-level) 2)
(symbol-value 'LaTeX-titletoc-section-command-list)
(remove "chapter" LaTeX-titletoc-section-command-list)))
@@ -75,7 +75,8 @@ Removal is based on the return value of function
(setq LaTeX-auto-titletoc-contentsuse nil))
(defun LaTeX-titletoc-auto-cleanup ()
- "Move parsed arguments of \"\\contentsuse\" to the variable
+ "Process parsed arguments of \"\\contentsuse\".
+Parsed elements are added to the variable
`LaTeX-titletoc-section-command-list'."
(when (LaTeX-titletoc-contentsuse-list)
(make-local-variable 'LaTeX-titletoc-section-command-list)
- [elpa] externals/auctex updated (62befc2176 -> ea42107189), Tassilo Horn, 2024/01/18
- [elpa] externals/auctex 6bd2185f19 03/10: ; Fix docstrings in style/titletoc.el,
Tassilo Horn <=
- [elpa] externals/auctex 68efd23c89 08/10: ; Fix version number in RELEASE file, Tassilo Horn, 2024/01/18
- [elpa] externals/auctex 2084502184 01/10: ; Improve style/titleps.el, Tassilo Horn, 2024/01/18
- [elpa] externals/auctex 15b5743527 09/10: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2024/01/18
- [elpa] externals/auctex ea42107189 10/10: Release GNU AUCTeX 13.3.0, Tassilo Horn, 2024/01/18
- [elpa] externals/auctex ab7e691904 02/10: ; Fix docstrings in style/titlesec.el, Tassilo Horn, 2024/01/18
- [elpa] externals/auctex d799eda3f2 05/10: ; Prepare for new release, Tassilo Horn, 2024/01/18
- [elpa] externals/auctex 7dd8693822 04/10: Update style/simpleicons.el to package v11.0.0, Tassilo Horn, 2024/01/18
- [elpa] externals/auctex 33439b0ef2 07/10: ; Release_13.3, Tassilo Horn, 2024/01/18
- [elpa] externals/auctex 8eda9fb72e 06/10: ; make change-history-commit, Tassilo Horn, 2024/01/18