[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 01da1940bdef9f0ecbccc
From: |
Arash Esbati |
Subject: |
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 01da1940bdef9f0ecbcccce3ec27aee40b9507bd |
Date: |
Mon, 2 Jan 2017 07:45:29 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".
The branch, master has been updated
via 01da1940bdef9f0ecbcccce3ec27aee40b9507bd (commit)
from bef487308acb26c775d5e79daaa484662e0e2067 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 01da1940bdef9f0ecbcccce3ec27aee40b9507bd
Author: Arash Esbati <address@hidden>
Date: Mon Jan 2 08:44:49 2017 +0100
; * style/titletoc.el ("titletoc"): Use `TeX-arg-length'.
diff --git a/style/titletoc.el b/style/titletoc.el
index 5cad560..0e70688 100644
--- a/style/titletoc.el
+++ b/style/titletoc.el
@@ -96,12 +96,7 @@ Removal is based on the return value of function
(TeX-arg-eval completing-read
(TeX-argument-prompt optional nil "Sectioning command")
(LaTeX-titletoc-section-command-list))
- [ TeX-arg-eval
- (lambda ()
- (let ((length (TeX-read-string
- (TeX-argument-prompt nil nil "Left margin"))))
- (format "%s" length))) ]
- 3)
+ [ TeX-arg-length "Left margin" ] 3)
;; \titlecontents{<section>}[<left>]{<above-code>}
;; {<numbered-entry-format>}{<numberless-entry-format>}
@@ -110,11 +105,7 @@ Removal is based on the return value of function
(TeX-arg-eval completing-read
(TeX-argument-prompt optional nil "Sectioning command")
(LaTeX-titletoc-section-command-list))
- [ TeX-arg-eval
- (lambda ()
- (let ((length (TeX-read-string
- (TeX-argument-prompt nil nil "Left margin"))))
- (format "%s" length))) ]
+ [ TeX-arg-length "Left margin" ]
(TeX-arg-conditional (y-or-n-p "With optional below code argument? ")
(4 [nil])
(4)))
@@ -126,11 +117,7 @@ Removal is based on the return value of function
(TeX-arg-eval completing-read
(TeX-argument-prompt optional nil "Sectioning command")
(LaTeX-titletoc-section-command-list))
- [ TeX-arg-eval
- (lambda ()
- (let ((length (TeX-read-string
- (TeX-argument-prompt nil nil "Left margin"))))
- (format "%s" length))) ]
+ [ TeX-arg-length "Left margin" ]
(TeX-arg-conditional (y-or-n-p "With optional separator argument? ")
(4 [nil])
(4)))
-----------------------------------------------------------------------
Summary of changes:
style/titletoc.el | 19 +++----------------
1 file changed, 3 insertions(+), 16 deletions(-)
hooks/post-receive
--
GNU AUCTeX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 01da1940bdef9f0ecbcccce3ec27aee40b9507bd,
Arash Esbati <=