[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex cb4e33e 12/26: Set output extension for Texinfo
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex cb4e33e 12/26: Set output extension for Texinfo files |
Date: |
Fri, 13 Nov 2015 17:00:35 +0000 |
branch: externals/auctex
commit cb4e33e29b3a4604d7cddf2ca11a19d620626802
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>
Set output extension for Texinfo files
* tex-info.el (TeX-texinfo-mode): Set `TeX-output-extension'.
Remove compatibility code with old Emacsen.
---
ChangeLog | 5 +++++
tex-info.el | 25 +++++++++++++------------
2 files changed, 18 insertions(+), 12 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 387c136..9af3154 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-11-08 Mos� Giordano <address@hidden>
+
+ * tex-info.el (TeX-texinfo-mode): Set `TeX-output-extension'.
+ Remove compatibility code with old Emacsen.
+
2015-11-06 Mos� Giordano <address@hidden>
* tex-buf.el (TeX-check-TeX, TeX-check-TeX-command-not-found): New
diff --git a/tex-info.el b/tex-info.el
index 6c5c81f..3a7b698 100644
--- a/tex-info.el
+++ b/tex-info.el
@@ -602,6 +602,7 @@ value of `Texinfo-mode-hook'."
(interactive)
(kill-all-local-variables)
(setq TeX-mode-p t)
+ (setq TeX-output-extension (if TeX-PDF-mode "pdf" "dvi"))
(setq TeX-sentinel-default-function 'TeX-TeX-sentinel)
;; Mostly stolen from texinfo.el
(setq TeX-base-mode-name "Texinfo")
@@ -625,9 +626,8 @@ value of `Texinfo-mode-hook'."
(set (make-local-variable 'comment-start-skip) "@c +\\|@comment +")
(set (make-local-variable 'comment-use-syntax) nil)
(set (make-local-variable 'words-include-escapes) t)
- (if (boundp 'texinfo-imenu-generic-expression)
- ;; This was introduced in 19.30.
- (set (make-local-variable 'imenu-generic-expression)
texinfo-imenu-generic-expression))
+ (set (make-local-variable 'imenu-generic-expression)
+ texinfo-imenu-generic-expression)
(set (make-local-variable 'font-lock-defaults)
;; COMPATIBILITY for Emacs 20
@@ -636,15 +636,16 @@ value of `Texinfo-mode-hook'."
nil nil nil backward-paragraph
(font-lock-syntactic-keywords
. texinfo-font-lock-syntactic-keywords))
- '(texinfo-font-lock-keywords t)))
- (if (not (boundp 'texinfo-section-list))
- ;; This was included in 19.31.
- ()
- (set (make-local-variable 'outline-regexp)
- (concat "@\\("
- (mapconcat 'car texinfo-section-list "\\>\\|")
- "\\>\\)"))
- (set (make-local-variable 'outline-level) 'texinfo-outline-level))
+ ;; This is for Emacs >= 23.3, when
+ ;; `texinfo-font-lock-syntactic-keywords' was removed.
+ '(texinfo-font-lock-keywords nil nil nil backward-paragraph)))
+
+ ;; Outline settings.
+ (set (make-local-variable 'outline-regexp)
+ (concat "@\\("
+ (mapconcat 'car texinfo-section-list "\\>\\|")
+ "\\>\\)"))
+ (set (make-local-variable 'outline-level) 'texinfo-outline-level)
;; Mostly AUCTeX stuff
(easy-menu-add Texinfo-mode-menu Texinfo-mode-map)
- [elpa] externals/auctex 9dba8fd 15/26: Make View command work no matter how emacs started, (continued)
- [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
- [elpa] externals/auctex cb4e33e 12/26: Set output extension for Texinfo files,
Tassilo Horn <=
- [elpa] externals/auctex d465076 22/26: Update for upcoming release, Tassilo Horn, 2015/11/13
- [elpa] externals/auctex 5179308 18/26: Change default value of LaTeX-fill-break-at-separators, Tassilo Horn, 2015/11/13
- [elpa] externals/auctex cc72777 19/26: More ERT tests, Tassilo Horn, 2015/11/13
- [elpa] externals/auctex df7dbbd 23/26: Release_11.89, Tassilo Horn, 2015/11/13
- [elpa] externals/auctex 3aa4bdb 17/26: Add ChangeLog entry, Tassilo Horn, 2015/11/13
- [elpa] externals/auctex 0c9b98a 14/26: Fix compatibility with XEmacs in tex-info.el, Tassilo Horn, 2015/11/13
- [elpa] externals/auctex 11af8e6 20/26: Improve has-no-display-manager predicate, Tassilo Horn, 2015/11/13
- [elpa] externals/auctex 7363de1 26/26: Adapt to ChangeLog dropping, Tassilo Horn, 2015/11/13
- [elpa] externals/auctex 7427d62 24/26: Drop ChangeLog, Tassilo Horn, 2015/11/13
- [elpa] externals/auctex 590651f 25/26: Merge branch 'master' into elpa, Tassilo Horn, 2015/11/13