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

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

[elpa] 79/299: Minor fix for the latest commit.


From: Stefan Monnier
Subject: [elpa] 79/299: Minor fix for the latest commit.
Date: Sun, 02 Nov 2014 03:10:28 +0000

monnier pushed a commit to branch externals/auctex
in repository elpa.

commit d0fecb4f35f5abfa90e36be005774971b5f816fd
Author: Tassilo Horn <address@hidden>
Date:   Sun Apr 7 18:27:48 2013 +0200

    Minor fix for the latest commit.
---
 latex.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/latex.el b/latex.el
index a37ff98..a91d5f2 100644
--- 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.



reply via email to

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