[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 26d64689d3 22/30: * style/titleps.el ("titleps")
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 26d64689d3 22/30: * style/titleps.el ("titleps"): Replace `TeX-arg-eval'. |
Date: |
Thu, 7 Dec 2023 03:51:09 -0500 (EST) |
branch: externals/auctex
commit 26d64689d302ab0fdf53ea78c015ae130d15f0dd
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
* style/titleps.el ("titleps"): Replace `TeX-arg-eval'.
---
style/titleps.el | 49 ++++++++++++++++++++++++-------------------------
1 file changed, 24 insertions(+), 25 deletions(-)
diff --git a/style/titleps.el b/style/titleps.el
index 67891035ce..ed03dcb126 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--2022 Free Software Foundation, Inc.
+;; Copyright (C) 2016--2023 Free Software Foundation, Inc.
;; Author: Arash Esbati <arash@gnu.org>
;; Maintainer: auctex-devel@gnu.org
@@ -78,30 +78,29 @@ Removal is based on the return value of function
(TeX-add-symbols
;; 2. Defining Page Styles
'("newpagestyle"
- (TeX-arg-eval
- (lambda ()
- (let ((ps (TeX-read-string
- (TeX-argument-prompt nil nil "Page style"))))
- (LaTeX-add-pagestyles ps)
- (format "%s" ps))))
+ (lambda (optional)
+ (let ((ps (TeX-read-string
+ (TeX-argument-prompt optional nil "Page style"))))
+ (LaTeX-add-pagestyles ps)
+ (TeX-argument-insert ps optional)))
(TeX-arg-conditional (y-or-n-p "With optional global style? ")
- ( [ t ] nil)
- ( t )))
+ ( [ t ] nil)
+ ( t )))
'("renewpagestyle" TeX-arg-pagestyle
(TeX-arg-conditional (y-or-n-p "With optional global style? ")
- ( [ t ] nil)
- ( t )))
+ ( [ t ] nil)
+ ( t )))
'("sethead"
(TeX-arg-conditional (y-or-n-p "With optional even pages? ")
- ( [ 3 ] nil nil nil)
- ( 3 )))
+ ( [ 3 ] nil nil nil)
+ ( 3 )))
'("setfoot"
(TeX-arg-conditional (y-or-n-p "With optional even pages? ")
- ( [ 3 ] nil nil nil)
- ( 3 )))
+ ( [ 3 ] nil nil nil)
+ ( 3 )))
'("sethead*" 3)
'("setfoot*" 3)
@@ -130,8 +129,8 @@ Removal is based on the return value of function
;; 4. Headline/footline width
'("widenhead"
(TeX-arg-conditional (y-or-n-p "With optional even pages? ")
- ( [ 2 ] nil nil)
- ( 2 )))
+ ( [ 2 ] nil nil)
+ ( 2 )))
'("widenhead*" 2)
@@ -172,26 +171,26 @@ Removal is based on the return value of function
;; 6. Running heads with floats
'("setfloathead"
(TeX-arg-conditional (y-or-n-p "With optional even pages? ")
- ( [ 3 ] nil nil nil nil [ nil ] )
- ( 4 [ nil ] )))
+ ( [ 3 ] nil nil nil nil [ nil ] )
+ ( 4 [ nil ] )))
'("setfloatfoot"
(TeX-arg-conditional (y-or-n-p "With optional even pages? ")
- ( [ 3 ] nil nil nil nil [ nil ] )
- ( 4 [ nil ] )))
+ ( [ 3 ] nil nil nil nil [ nil ] )
+ ( 4 [ nil ] )))
'("setfloathead*" 4 [ nil ] )
'("setfloatfoot*" 4 [ nil ] )
'("nextfloathead"
(TeX-arg-conditional (y-or-n-p "With optional even pages? ")
- ( [ 3 ] nil nil nil nil [ nil ] )
- ( 4 [ nil ] )))
+ ( [ 3 ] nil nil nil nil [ nil ] )
+ ( 4 [ nil ] )))
'("nextfloatfoot"
(TeX-arg-conditional (y-or-n-p "With optional even pages? ")
- ( [ 3 ] nil nil nil nil [ nil ] )
- ( 4 [ nil ] )))
+ ( [ 3 ] nil nil nil nil [ nil ] )
+ ( 4 [ nil ] )))
'("nextfloathead*" 4 [ nil ] )
'("nextfloatfoot*" 4 [ nil ] )
- [elpa] externals/auctex ecc0059120 05/30: ; * admin/release-process.org: Fix typos, (continued)
- [elpa] externals/auctex ecc0059120 05/30: ; * admin/release-process.org: Fix typos, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex acacdc09a6 25/30: ; * tex.el (TeX-brace-count-line): Fix check order., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 217b46b2cf 03/30: Allow `preview-scale-function' as a file-local variable, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex ebe0ef11d1 06/30: ; Revert "; * latex.el (LaTeX-completion-parse-args): Use `cl-flet'.", Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 8282b83210 04/30: ; Mention bumping Emacs version for ELPA, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 5d0f020b81 28/30: Add support for the refcount package, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 05d28dfe06 12/30: Improve check for verbatim content, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex b94c773c5d 19/30: ; Delete remainder, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex ed2f62ef80 21/30: * style/splitidx.el ("splitidx"): Replace `TeX-arg-eval'., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex a82eb1690a 10/30: Restore point in `LaTeX-verbatim-p', Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 26d64689d3 22/30: * style/titleps.el ("titleps"): Replace `TeX-arg-eval'.,
Tassilo Horn <=
- [elpa] externals/auctex a5599695b0 15/30: Save regexp groups, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex d231ecdfcc 16/30: ; * font-latex.el (font-latex-built-in-keyword-classes): Add "par"., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex a28f1d4ccb 27/30: Add completion support for \DeclareGraphicsExtensions, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 88467618ad 11/30: ; * style/minted.el (LaTeX-fontenc-package-options): Pacify warning., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex c196c69207 09/30: Update style/minted to package version 2.8, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 8ae405b919 14/30: Save regexp groups, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex f22ced023d 24/30: * style/fvextra.el ("fvextra"): Track LaTeX package version 1.6., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 1792a41446 29/30: Move support for xparse macros into core, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 3f7742f95b 18/30: Process lambda expressions correctly, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 38a883d37c 17/30: Save regexp groups in style/minted.el, Tassilo Horn, 2023/12/07