[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] [elpa] externals/auctex 869f43f 2/7: Mark default argumen
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] [elpa] externals/auctex 869f43f 2/7: Mark default argument to `LaTeX-arg-polyglossia-lang' as optional |
Date: |
Thu, 22 Oct 2020 14:06:27 -0400 (EDT) |
branch: externals/auctex
commit 869f43f9100a069719274c8a3986801e7856bb09
Author: Mosè Giordano <mose@gnu.org>
Commit: Mosè Giordano <mose@gnu.org>
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.
---
style/polyglossia.el | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
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
- [AUCTeX-diffs] [elpa] externals/auctex updated (c5772e7 -> b4f0837), Tassilo Horn, 2020/10/22
- [AUCTeX-diffs] [elpa] externals/auctex 869f43f 2/7: Mark default argument to `LaTeX-arg-polyglossia-lang' as optional,
Tassilo Horn <=
- [AUCTeX-diffs] [elpa] externals/auctex ec4060e 5/7: ; Some improvements to release instructions, Tassilo Horn, 2020/10/22
- [AUCTeX-diffs] [elpa] externals/auctex dc09dbc 3/7: ; make change-history-commit, Tassilo Horn, 2020/10/22
- [AUCTeX-diffs] [elpa] externals/auctex 3a9705f 4/7: ; Release_12.3, Tassilo Horn, 2020/10/22
- [AUCTeX-diffs] [elpa] externals/auctex c892ed8 1/7: Prepare for upcoming release, Tassilo Horn, 2020/10/22
- [AUCTeX-diffs] [elpa] externals/auctex b4f0837 7/7: ; Recompile after merge from master, Tassilo Horn, 2020/10/22
- [AUCTeX-diffs] [elpa] externals/auctex 68fcccc 6/7: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2020/10/22