[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 6bd2185f 3/3: ; Fix docstrings in style/titletoc.el
|
From: |
Arash Esbati |
|
Subject: |
master 6bd2185f 3/3: ; Fix docstrings in style/titletoc.el |
|
Date: |
Fri, 12 Jan 2024 13:31:24 -0500 (EST) |
branch: master
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 4b32a57d..fb0b6897 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)
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 6bd2185f 3/3: ; Fix docstrings in style/titletoc.el,
Arash Esbati <=