auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, lexical-binding-attempt-1, updated. 7a


From: Arash Esbati
Subject: [AUCTeX-diffs] GNU AUCTeX branch, lexical-binding-attempt-1, updated. 7a6b76575da99b3959b17afde844ea34c9d66fa2
Date: Fri, 2 Oct 2020 16:21:09 -0400 (EDT)

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, lexical-binding-attempt-1 has been updated
       via  7a6b76575da99b3959b17afde844ea34c9d66fa2 (commit)
       via  231d4f731b2e32e2f9fcc88afcedf3bd59ee64af (commit)
      from  41885f79b24575caea61a94834a5d6d9a0f36fde (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 7a6b76575da99b3959b17afde844ea34c9d66fa2
Author: Arash Esbati <arash@gnu.org>
Date:   Fri Oct 2 22:20:08 2020 +0200

    Add missing argument to function body
    
    * style/thmtools.el (LaTeX-thmtools-declaretheoremstyle-key-val)
    (LaTeX-thmtools-declaretheorem-key-val): Add the missing `prompt'
    argument.

diff --git a/style/thmtools.el b/style/thmtools.el
index 334fccc..8de9c33 100644
--- a/style/thmtools.el
+++ b/style/thmtools.el
@@ -161,7 +161,8 @@ minibuffer.  PROMPT replaces the standard one."
        ("refname")
        ("Refname")
        ("shaded" ("textwidth" "bgcolor" "rulecolor" "rulewidth" "margin"))
-       ("thmbox" ("L" "M" "S"))))))
+       ("thmbox" ("L" "M" "S")))
+     prompt)))
 
 (defun LaTeX-arg-thmtools-declaretheorem (optional &optional prompt)
   "Insert the key=val and environment name defined by \\declaretheorem.
@@ -204,7 +205,8 @@ minibuffer.  PROMPT replaces the standard one."
        ("show" ,thms)
        ("ignoreall" ("true" "false"))
        ("showall" ("true" "false"))
-       ("title")))))
+       ("title"))
+     prompt)))
 
 (defun LaTeX-arg-thmtools-listoftheorems (optional &optional prompt)
   "Insert the key=val to \\listoftheorems macro.

commit 231d4f731b2e32e2f9fcc88afcedf3bd59ee64af
Author: Arash Esbati <arash@gnu.org>
Date:   Fri Oct 2 22:11:32 2020 +0200

    Remove `TeX-arg-none'
    
    * style/alphanum.el (TeX-arg-none): Remove function and use
    `TeX-arg-literal' instead.

diff --git a/style/alphanum.el b/style/alphanum.el
index 5a89422..0cac290 100644
--- a/style/alphanum.el
+++ b/style/alphanum.el
@@ -38,9 +38,6 @@
 (declare-function reftex-match-string "reftex" (n))
 (defvar reftex-section-regexp)
 
-(defun TeX-arg-none (arg)
-  (insert " "))
-
 (defun reftex-get-section-level-alphanum ()
   (save-excursion                      ; preserve position
     (save-match-data            ; preserve matching data (important!)
@@ -76,13 +73,15 @@
  "alphanum"
  (lambda ()
    (LaTeX-largest-level-set "chapter")
-   (TeX-add-symbols '("levelup" TeX-arg-none))
+   (TeX-add-symbols
+    '("levelup" (TeX-arg-literal " ")))
    (make-local-variable 'LaTeX-section-list)
    (LaTeX-section-list-add-locally
     '(("part" 0)
       ;; the levels don't make sense with alphanum, I randomly chose 0...
       ("toc" 0)
-      ("sub" 0)) t)
+      ("sub" 0))
+    t)
    (setq LaTeX-section-label
         '(("part" . "part:")
           ("toc" . "sec:")

-----------------------------------------------------------------------

Summary of changes:
 style/alphanum.el | 9 ++++-----
 style/thmtools.el | 6 ++++--
 2 files changed, 8 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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