[Top][All Lists]

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

[elpa] externals/auctex 0cc2578 39/80: ; Use the correct variable `LaTeX

From: Tassilo Horn
Subject: [elpa] externals/auctex 0cc2578 39/80: ; Use the correct variable `LaTeX-fontspec-font-features'
Date: Wed, 16 Oct 2019 11:07:13 -0400 (EDT)

branch: externals/auctex
commit 0cc2578b4ad066dfab4b1dc2df0f94a8004ed45b
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>

    ; Use the correct variable `LaTeX-fontspec-font-features'
    * style/fontspec.el (LaTeX-fontspec-update-font-features): Copy
    the correct variable `LaTeX-fontspec-font-features' and not the
    local one.
 style/fontspec.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/style/fontspec.el b/style/fontspec.el
index 03e5178..0688e98 100644
--- a/style/fontspec.el
+++ b/style/fontspec.el
@@ -215,7 +215,7 @@ to retrieve the list of fonts."
     (let* ((colorcmd (if (member "xcolor" (TeX-style-list))
-          (tmp (copy-alist LaTeX-fontspec-font-features-local)))
+          (tmp (copy-alist LaTeX-fontspec-font-features)))
       (setq tmp (assq-delete-all (car (assoc "Color" tmp)) tmp))
       (push (list "Color" (mapcar #'car (funcall colorcmd))) tmp)
       (setq LaTeX-fontspec-font-features-local

reply via email to

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