[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 20845021 1/3: ; Improve style/titleps.el
|
From: |
Arash Esbati |
|
Subject: |
master 20845021 1/3: ; Improve style/titleps.el |
|
Date: |
Fri, 12 Jan 2024 13:31:22 -0500 (EST) |
branch: master
commit 20845021846b029c57b4d40a7d95ad81a2c39170
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
; Improve style/titleps.el
* style/titleps.el (LaTeX-titleps-section-command-list): Don't use
`symbol-value'.
Adjust docstring.
---
style/titleps.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/style/titleps.el b/style/titleps.el
index ed03dcb1..a336c2c0 100644
--- a/style/titleps.el
+++ b/style/titleps.el
@@ -1,6 +1,6 @@
;;; titleps.el --- AUCTeX style for `titleps.sty' (v1.1.1) -*-
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
@@ -50,12 +50,12 @@
"List of sectioning commands available in \"titleps.sty\".")
(defun LaTeX-titleps-section-command-list ()
- "Remove \"chapter\" from variable
-`LaTeX-titleps-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-titleps-section-command-list' and selected based on the
+return value of the function `LaTeX-largest-level'."
(if (< (LaTeX-largest-level) 2)
- (symbol-value 'LaTeX-titleps-section-command-list)
+ LaTeX-titleps-section-command-list
(remove "chapter" LaTeX-titleps-section-command-list)))
(defvar LaTeX-titleps-newpagestyle-regexp
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 20845021 1/3: ; Improve style/titleps.el,
Arash Esbati <=