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


From: Arne Jørgensen
Subject: [AUCTeX-diffs] Changes to auctex/latex.el
Date: Wed, 19 Oct 2005 17:19:12 -0400

Index: auctex/latex.el
diff -u auctex/latex.el:5.387 auctex/latex.el:5.388
--- auctex/latex.el:5.387       Wed Oct 12 13:03:57 2005
+++ auctex/latex.el     Wed Oct 19 21:19:11 2005
@@ -1570,13 +1570,15 @@
                (fboundp var))
            (if (functionp var)
                (setq options (funcall var))
-             (setq options
-                   (mapconcat 'identity 
-                              (TeX-completing-read-multiple 
-                               "Options: " (mapcar 'list (symbol-value var)))
-                              ",")))
+             (when (symbol-value var)
+               (setq options
+                     (mapconcat 'identity 
+                                (TeX-completing-read-multiple 
+                                 "Options: " (mapcar 'list (symbol-value var)))
+                                ","))))
          (setq options (read-string "Options: ")))
-       (TeX-argument-insert options t)))))
+       (when options
+         (TeX-argument-insert options t))))))
 
 (defvar TeX-global-input-files nil
   "List of the non-local TeX input files.




reply via email to

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