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

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

[elpa] externals/auctex 2084502184 01/10: ; Improve style/titleps.el


From: Tassilo Horn
Subject: [elpa] externals/auctex 2084502184 01/10: ; Improve style/titleps.el
Date: Thu, 18 Jan 2024 04:26:42 -0500 (EST)

branch: externals/auctex
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 ed03dcb126..a336c2c0ee 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



reply via email to

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