[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex ab7e691904 02/10: ; Fix docstrings in style/titl
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex ab7e691904 02/10: ; Fix docstrings in style/titlesec.el |
Date: |
Thu, 18 Jan 2024 04:26:43 -0500 (EST) |
branch: externals/auctex
commit ab7e69190438b5a6b995b5647e965dc21641da2e
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
; Fix docstrings in style/titlesec.el
* style/titlesec.el (LaTeX-titlesec-section-command-list)
(LaTeX-titlesec-titlespec-key-val-options): Fix docstrings.
---
style/titlesec.el | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/style/titlesec.el b/style/titlesec.el
index bc1faf13d8..ab42d7495a 100644
--- a/style/titlesec.el
+++ b/style/titlesec.el
@@ -1,6 +1,6 @@
;;; titlesec.el --- AUCTeX style for `titlesec.sty' (v2.11) -*-
lexical-binding: t; -*-
-;; Copyright (C) 2016--2022 Free Software Foundation, Inc.
+;; Copyright (C) 2016--2024 Free Software Foundation, Inc.
;; Author: Arash Esbati <arash@gnu.org>
;; Maintainer: auctex-devel@gnu.org
@@ -68,22 +68,23 @@ macros provided by \"titlesec.sty\".")
"List of sectioning shapes available for \"\\titleformat\" command.")
(defun LaTeX-titlesec-section-command-list ()
- "Remove \"chapter\" from variable
-`LaTeX-titlesec-section-command-list' and return the remainder.
-Removal is based on the return value of function
-`LaTeX-largest-level'. Items returned are prefixed with
-`TeX-esc'."
+ "Return a list of appropriate sectioning commands.
+Commands are collected from the variable
+`LaTeX-titlesec-section-command-list' and selected based on the
+return value of function `LaTeX-largest-level'. Commands
+returned are prefixed with `TeX-esc'."
(mapcar (lambda (elt) (concat TeX-esc elt))
(if (< (LaTeX-largest-level) 2)
LaTeX-titlesec-section-command-list
(remove "chapter" LaTeX-titlesec-section-command-list))))
(defun LaTeX-titlesec-titlespec-key-val-options ()
- "Return key=val's for the 1st arg of \"\\titleformat\" and
\"\\titlespacing\".
-Depending on the returned value of the function
-`LaTeX-largest-level', append a \"name\" key with corresponding
-values to `LaTeX-titlesec-key-val-options'. The values are
-retrieved from `LaTeX-titlesec-section-command-list'. The values
+ "Return key=val's for the 1st arg of titlesec macros.
+Macros are \"\\titleformat\" and \"\\titlespacing\". Depending
+on the returned value of the function `LaTeX-largest-level',
+append a \"name\" key with corresponding values to
+`LaTeX-titlesec-key-val-options'. The values are retrieved from
+the variable `LaTeX-titlesec-section-command-list'. The values
of this list are also added stand-alone as keys."
(append
`(("name"
@@ -98,7 +99,6 @@ of this list are also added stand-alone as keys."
(remove "chapter" LaTeX-titlesec-section-command-list))))
LaTeX-titlesec-key-val-options))
-
(TeX-add-style-hook
"titlesec"
(lambda ()
- [elpa] externals/auctex updated (62befc2176 -> ea42107189), Tassilo Horn, 2024/01/18
- [elpa] externals/auctex 2084502184 01/10: ; Improve style/titleps.el, Tassilo Horn, 2024/01/18
- [elpa] externals/auctex 8eda9fb72e 06/10: ; make change-history-commit, Tassilo Horn, 2024/01/18
- [elpa] externals/auctex 6bd2185f19 03/10: ; Fix docstrings in style/titletoc.el, Tassilo Horn, 2024/01/18
- [elpa] externals/auctex d799eda3f2 05/10: ; Prepare for new release, Tassilo Horn, 2024/01/18
- [elpa] externals/auctex 68efd23c89 08/10: ; Fix version number in RELEASE file, 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 ab7e691904 02/10: ; Fix docstrings in style/titlesec.el,
Tassilo Horn <=
- [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