branch: externals/auctex
commit 0cc2578b4ad066dfab4b1dc2df0f94a8004ed45b
Author: Arash Esbati <ar...@gnu.org>
Commit: Arash Esbati <ar...@gnu.org>

    ; 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))
                         #'LaTeX-xcolor-definecolor-list
                       #'LaTeX-color-definecolor-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

_______________________________________________
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to