[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 6351078 09/26: Use LaTeX-style-list for default
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 6351078 09/26: Use LaTeX-style-list for default classes completion. |
Date: |
Fri, 13 Nov 2015 17:00:34 +0000 |
branch: externals/auctex
commit 635107861b47f98ac66dea19efe7ab9216c71e96
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>
Use LaTeX-style-list for default classes completion.
* latex.el (TeX-arg-document): When `TeX-arg-input-file-search' is
nil, use `LaTeX-style-list' to complete document classes. Fixes
bug#21814.
---
ChangeLog | 6 ++++++
latex.el | 16 ++++++++--------
2 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ca1d4e3..000c652 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-11-02 Mos� Giordano <address@hidden>
+
+ * latex.el (TeX-arg-document): When `TeX-arg-input-file-search' is
+ nil, use `LaTeX-style-list' to complete document classes. Fixes
+ bug#21814.
+
2015-10-28 Tassilo Horn <address@hidden>
* latex.el (LaTeX-fill-break-at-separators): Default to nil
diff --git a/latex.el b/latex.el
index 72d8f85..be466b8 100644
--- a/latex.el
+++ b/latex.el
@@ -2052,14 +2052,14 @@ OPTIONAL and IGNORE are ignored."
(crm-separator ",")
style var options)
(unless LaTeX-global-class-files
- (if (if (eq TeX-arg-input-file-search 'ask)
- (not (y-or-n-p "Find class yourself? "))
- TeX-arg-input-file-search)
- (progn
- (message "Searching for LaTeX classes...")
- (setq LaTeX-global-class-files
- (mapcar 'identity (TeX-search-files-by-type 'texinputs
'global t t))))
- LaTeX-style-list))
+ (setq LaTeX-global-class-files
+ (if (if (eq TeX-arg-input-file-search 'ask)
+ (not (y-or-n-p "Find class yourself? "))
+ TeX-arg-input-file-search)
+ (progn
+ (message "Searching for LaTeX classes...")
+ (mapcar 'identity (TeX-search-files-by-type 'texinputs
'global t t)))
+ LaTeX-style-list)))
(setq style (completing-read
(concat "Document class: (default " LaTeX-default-style ") ")
LaTeX-global-class-files nil nil nil nil LaTeX-default-style))
- [elpa] externals/auctex updated (35a4cfc -> 7363de1), Tassilo Horn, 2015/11/13
- [elpa] externals/auctex b10ca71 01/26: Fix docstring., Tassilo Horn, 2015/11/13
- [elpa] externals/auctex 90ea1a0 02/26: Remove SmallCaps font declaration command., Tassilo Horn, 2015/11/13
- [elpa] externals/auctex dbeb71f 04/26: Improve style., Tassilo Horn, 2015/11/13
- [elpa] externals/auctex b4f95f9 07/26: Disable special filling of math constructs, Tassilo Horn, 2015/11/13
- [elpa] externals/auctex 6351078 09/26: Use LaTeX-style-list for default classes completion.,
Tassilo Horn <=
- [elpa] externals/auctex 9dba8fd 15/26: Make View command work no matter how emacs started, Tassilo Horn, 2015/11/13
- [elpa] externals/auctex c39c63f 13/26: Add new style hologo.el., Tassilo Horn, 2015/11/13
- [elpa] externals/auctex d56502e 05/26: Support node name completion in texinfo, Tassilo Horn, 2015/11/13
- [elpa] externals/auctex a2f8bc6 08/26: Fix Texinfo-make-node-list, Tassilo Horn, 2015/11/13
- [elpa] externals/auctex 52275f9 03/26: Improve style., Tassilo Horn, 2015/11/13
- [elpa] externals/auctex b3153ec 16/26: Add function for reverting document buffer, Tassilo Horn, 2015/11/13
- [elpa] externals/auctex 4527e8a 10/26: Update documentation., Tassilo Horn, 2015/11/13
- [elpa] externals/auctex f52479b 11/26: Improve checking of a TeX distribution and make it optional, Tassilo Horn, 2015/11/13
- [elpa] externals/auctex fb09c26 06/26: Warn about duplicate texinfo nodes, Tassilo Horn, 2015/11/13
- [elpa] externals/auctex a4c6a19 21/26: Update release-related Makefile rules, Tassilo Horn, 2015/11/13