emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/auctex 93123b6 18/57: Query for expl3 package options


From: Tassilo Horn
Subject: [elpa] externals/auctex 93123b6 18/57: Query for expl3 package options
Date: Tue, 25 Jul 2017 14:02:29 -0400 (EDT)

branch: externals/auctex
commit 93123b6892d1436166c7cfd879893ab30d3b6310
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>

    Query for expl3 package options
    
    * style/expl3.el (LaTeX-expl3-package-options): New function to
    read package options from user.
    Add missing file footer.
---
 style/expl3.el | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/style/expl3.el b/style/expl3.el
index b686b52..78361d7 100644
--- a/style/expl3.el
+++ b/style/expl3.el
@@ -1,6 +1,6 @@
 ;;; expl3.el --- AUCTeX style for `expl3.sty'
 
-;; Copyright (C) 2015 Free Software Foundation, Inc.
+;; Copyright (C) 2015, 2017 Free Software Foundation, Inc.
 
 ;; Author: Tassilo Horn <address@hidden>
 ;; Maintainer: address@hidden
@@ -46,3 +46,13 @@
      ;; Tell font-lock about the update.
      (font-latex-update-font-lock t)))
  LaTeX-dialect)
+
+(defun LaTeX-expl3-package-options ()
+  "Read the expl3 package options from the user."
+  (TeX-read-key-val t '(("check-declarations" ("true" "false"))
+                       ("log-functions" ("true" "false"))
+                       ("driver" ("auto"    "latex2e"
+                                  "dvips"   "dvipdfmx"
+                                  "pdfmode" "xdvipdfmx")))))
+
+;;; expl3.el ends here



reply via email to

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