[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 869f43f9100a069719274
From: |
Mosè Giordano |
Subject: |
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 869f43f9100a069719274c8a3986801e7856bb09 |
Date: |
Sun, 18 Oct 2020 14:00:12 -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, master has been updated
via 869f43f9100a069719274c8a3986801e7856bb09 (commit)
from c892ed81857e0bd74085cc392c52839f7362ff87 (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 869f43f9100a069719274c8a3986801e7856bb09
Author: Mosè Giordano <mose@gnu.org>
Date: Sun Oct 18 18:58:29 2020 +0100
Mark default argument to `LaTeX-arg-polyglossia-lang' as optional
* style/polyglossia.el (LaTeX-arg-polyglossia-lang): The `default' argument
isn't currently used, mark it as ignored.
diff --git a/style/polyglossia.el b/style/polyglossia.el
index b9aa3d4..aaa688d 100644
--- a/style/polyglossia.el
+++ b/style/polyglossia.el
@@ -148,7 +148,7 @@ The last language is the default one."
The value is actually the tail of the list of options given to LANGUAGE."
(member option (cdr (cdr (assoc language LaTeX-polyglossia-lang-list)))))
-(defun LaTeX-arg-polyglossia-lang (_optional default multiple setkeys)
+(defun LaTeX-arg-polyglossia-lang (_optional _default multiple setkeys)
"Prompt for language and its options with completion and insert them
as arguments.
@@ -156,14 +156,16 @@ This function is triggered by \"\setdefaultlanguage\",
\"\setotherlanguage\", \"\setotherlanguages\", and \"\setkeys\"
macros by polyglossia package.
-OPTIONAL is ignored, if DEFAULT is non-nil treat inserted
-language as default, if MULTIPLE is non-nil prompt for multiple
-languages, if SETKEYS is non-nil insert options as second
-mandatory argument."
+OPTIONAL and DEFAULT are ignored, if MULTIPLE is non-nil prompt
+for multiple languages, if SETKEYS is non-nil insert options as
+second mandatory argument."
;; DEFAULT = t , MULTIPLE = nil, SETKEYS = nil: "\setdefaultlanguage".
;; DEFAULT = nil, MULTIPLE = nil, SETKEYS = nil: "\setotherlanguage".
;; DEFAULT = nil, MULTIPLE = t , SETKEYS = nil: "\setotherlanguages".
;; DEFAULT = nil, MULTIPLE = nil, SETKEYS = t : "\setkeys".
+
+ ;; Note: `DEFAULT' is currently ignored because we don't really have a
+ ;; mechanism to identify the default polyglossia language.
(let ((language (funcall
(if multiple
'TeX-completing-read-multiple
-----------------------------------------------------------------------
Summary of changes:
style/polyglossia.el | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
hooks/post-receive
--
GNU AUCTeX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 869f43f9100a069719274c8a3986801e7856bb09,
Mosè Giordano <=