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  4e4c48556b3b1ad2f254885dfcd2fec38eef8122 (commit)
      from  844e758a475860addc94ac6f73b2c0ac2e598eaa (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 4e4c48556b3b1ad2f254885dfcd2fec38eef8122
Author: Ikumi Keita <[email protected]>
Date:   Sun Feb 27 21:14:42 2022 +0900

    ; Trivial cleanup
    
    * latex.el (LaTeX-newline): Fix typo in comment and re-fill.
    (TeX-read-key-val): Untabify.

diff --git a/latex.el b/latex.el
index 8c8f8040..a9a8f386 100644
--- a/latex.el
+++ b/latex.el
@@ -111,9 +111,9 @@ This depends on `LaTeX-insert-into-comments'."
              (delete-region (match-beginning 0) (match-end 0))
              (indent-new-comment-line))
             ;; `indent-new-comment-line' does nothing when
-            ;; `comment-auto-fill-only-comments' is non-il, so we must be sure
-            ;; to be in a comment before calling it.  In any other case
-            ;; `newline' is used.
+            ;; `comment-auto-fill-only-comments' is non-nil, so we
+            ;; must be sure to be in a comment before calling it.  In
+            ;; any other case `newline' is used.
             ((TeX-in-comment)
              (indent-new-comment-line))
             (t
@@ -3157,16 +3157,16 @@ returning an alist.  Use PROMPT as the prompt string."
   (multi-prompt-key-value
    (TeX-argument-prompt optional prompt "Options (k=v)")
    (cond ((and (symbolp key-val-alist)
-              (boundp key-val-alist))
-         (symbol-value key-val-alist))
-        ((and (listp key-val-alist)
-              (symbolp (car key-val-alist))
-              (fboundp (car key-val-alist)))
-         (let ((head (car key-val-alist))
-               (tail (cdr key-val-alist)))
-           (apply head tail)))
-        (t
-         key-val-alist))))
+               (boundp key-val-alist))
+          (symbol-value key-val-alist))
+         ((and (listp key-val-alist)
+               (symbolp (car key-val-alist))
+               (fboundp (car key-val-alist)))
+          (let ((head (car key-val-alist))
+                (tail (cdr key-val-alist)))
+            (apply head tail)))
+         (t
+          key-val-alist))))
 
 (defun TeX-arg-key-val (optional key-val-alist &optional prompt)
   "Prompt for keys and values in KEY-VAL-ALIST.

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

Summary of changes:
 latex.el | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX

_______________________________________________
auctex-diffs mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to