[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, 02 Apr 2013 07:22:31 +0000 |
CVSROOT: /sources/auctex
Module name: auctex
Changes by: Tassilo Horn <tsdh> 13/04/02 07:22:30
Index: latex.el
===================================================================
RCS file: /sources/auctex/auctex/latex.el,v
retrieving revision 5.492
retrieving revision 5.493
diff -u -b -r5.492 -r5.493
--- latex.el 28 Mar 2013 10:14:46 -0000 5.492
+++ latex.el 2 Apr 2013 07:22:29 -0000 5.493
@@ -1737,7 +1737,15 @@
(defun TeX-arg-document (optional &optional ignore)
"Insert arguments to documentclass.
OPTIONAL and IGNORE are ignored."
- (let ((style (completing-read
+ (let* ((TeX-file-extensions '("cls"))
+ (search (if (eq TeX-arg-input-file-search 'ask)
+ (not (y-or-n-p "Find class yourself? "))
+ TeX-arg-input-file-search))
+ (LaTeX-style-list
+ (if search
+ (mapcar 'identity (TeX-search-files-by-type 'texinputs 'global t
t))
+ LaTeX-style-list))
+ (style (completing-read
(concat "Document class: (default " LaTeX-default-style ") ")
LaTeX-style-list))
(options (read-string "Options: "
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] Changes to auctex/latex.el,v,
Tassilo Horn <=