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.
_______________________________________________
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs