auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] Changes to auctex/latex.el,v


From: Tassilo Horn
Subject: [AUCTeX-diffs] Changes to auctex/latex.el,v
Date: Tue, 12 Feb 2013 07:54:41 +0000

CVSROOT:        /sources/auctex
Module name:    auctex
Changes by:     Tassilo Horn <tsdh>     13/02/12 07:54:40

Index: latex.el
===================================================================
RCS file: /sources/auctex/auctex/latex.el,v
retrieving revision 5.483
retrieving revision 5.484
diff -u -b -r5.483 -r5.484
--- latex.el    29 Jan 2013 07:37:50 -0000      5.483
+++ latex.el    12 Feb 2013 07:54:39 -0000      5.484
@@ -1345,18 +1345,20 @@
        ;; Get the options.
        (setq options (LaTeX-listify-package-options options))
 
-       ;; Add them, to the style list.
+       ;; Append them to the style list.
        (dolist (elt options)
-         (add-to-list 'TeX-auto-file elt))
+         (add-to-list 'TeX-auto-file elt t))
 
        ;; Treat documentclass/documentstyle specially.
        (if (or (string-equal "package" class)
                (string-equal "Package" class))
            (dolist (elt (TeX-split-string
                           "\\([ \t\r\n]\\|%[^\n\r]*[\n\r]\\|,\\)+" style))
-             (add-to-list 'TeX-auto-file elt))
+             ;; Append style to the style list, so style files can check the
+             ;; values of the options given on load time to packages.
+             (add-to-list 'TeX-auto-file elt t))
          ;; And a special "art10" style file combining style and size.
-         (add-to-list 'TeX-auto-file style)
+         (add-to-list 'TeX-auto-file style t)
          (add-to-list 'TeX-auto-file
                       (concat
                        (cond ((string-equal "article" style)
@@ -1383,7 +1385,7 @@
                              ((member "12pt" options)
                               "12")
                              (t
-                              "10")))))
+                              "10"))) t))
 
        ;; The third argument if "class" indicates LaTeX2e features.
        (cond ((equal class "class")



reply via email to

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