[Top][All Lists]

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

Re: [AUCTeX-devel] Management of package options [Was: Re: Add `unit' ty

From: Mosè Giordano
Subject: Re: [AUCTeX-devel] Management of package options [Was: Re: Add `unit' type for the parser in siunitx.el]
Date: Sat, 6 Apr 2013 02:08:31 +0200

I'm sending a better patch.  Just for reference, this is the diff with
the previous patch:
--- a/latex.el
+++ b/latex.el
@@ -1832,10 +1832,10 @@ OPTIONAL is ignored."
                                  "Options: " (mapcar 'list (symbol-value var)))
          (setq options (read-string "Options: ")))
-       (when options
+       (unless (zerop (length options))
          (let ((opts (LaTeX-listify-package-options options)))
            (TeX-add-to-alist 'LaTeX-provided-package-options
-                             (list (add-to-list 'opts package))))
+                             (list (cons package opts))))
          (TeX-argument-insert options t)
          ;; When `babel' package is loaded with options, load also language
          ;; style files.

Is there a policy for git commit message in AUCTeX?  I've used CVS
commit message style, but probably in git this is redundant.

Mosè Giordano

Attachment: 0001-latex.el-LaTeX-provided-class-options-New-buffer-loc.patch
Description: Binary data

reply via email to

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