[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 52d6a54 03/48: Make `TeX-clean' to work in ams-t
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 52d6a54 03/48: Make `TeX-clean' to work in ams-tex-mode |
Date: |
Sun, 16 Sep 2018 01:47:19 -0400 (EDT) |
branch: externals/auctex
commit 52d6a546f6829e6334b6d619db6c5434843ccd80
Author: Ikumi Keita <address@hidden>
Commit: Ikumi Keita <address@hidden>
Make `TeX-clean' to work in ams-tex-mode
* plain-tex.el (AmSTeX-clean-intermediate-suffixes,
AmSTeX-clean-output-suffixes): New customize options.
(AmS-TeX-mode-hook): Move from tex.el.
(AmSTeX-mode-command-menu, AmSTeX-mode-menu): Fix doc strings.
(): Update copyright year.
* tex.el (TeX-mode-prefix): Add an entry for AmS-TeX.
(AmS-TeX-mode-hook): Move to plain-tex.el.
---
plain-tex.el | 26 +++++++++++++++++++++++---
tex.el | 6 +-----
2 files changed, 24 insertions(+), 8 deletions(-)
diff --git a/plain-tex.el b/plain-tex.el
index 99df58a..4c26abf 100644
--- a/plain-tex.el
+++ b/plain-tex.el
@@ -1,6 +1,6 @@
;;; plain-tex.el --- Support for plain TeX documents.
-;; Copyright (C) 2010, 2013, 2016-2017 Free Software Foundation, Inc.
+;; Copyright (C) 2010, 2013, 2016-2018 Free Software Foundation, Inc.
;; Maintainer: address@hidden
;; Keywords: tex
@@ -282,14 +282,19 @@ i.e. you do _not_ have to cater for this yourself by
adding \\\\' or $."
;; Menu for AmSTeX mode
(easy-menu-define AmSTeX-mode-command-menu
AmSTeX-mode-map
- "Command menu used in AmsTeX mode."
+ "Command menu used in AmSTeX mode."
(TeX-mode-specific-command-menu 'ams-tex-mode))
(easy-menu-define AmSTeX-mode-menu
AmSTeX-mode-map
- "Menu used in AMS-TeX mode."
+ "Menu used in AmSTeX mode."
(cons "AmS-TeX" plain-TeX-menu-entries))
+(defcustom AmS-TeX-mode-hook nil
+ "A hook run in AmS-TeX mode buffers."
+ :type 'hook
+ :group 'TeX-misc)
+
;;;###autoload
(defun ams-tex-mode ()
"Major mode in AUCTeX for editing AmS-TeX files.
@@ -315,6 +320,21 @@ of `AmS-TeX-mode-hook'."
(TeX-run-mode-hooks 'text-mode-hook 'TeX-mode-hook 'AmS-TeX-mode-hook)
(TeX-set-mode-name))
+(defcustom AmSTeX-clean-intermediate-suffixes
+ TeX-clean-default-intermediate-suffixes
+ "List of regexps matching suffixes of intermediate files to be deleted.
+The regexps will be anchored at the end of the file name to be matched,
+i.e. you do _not_ have to cater for this yourself by adding \\\\' or $."
+ :type '(repeat regexp)
+ :group 'TeX-command)
+
+(defcustom AmSTeX-clean-output-suffixes TeX-clean-default-output-suffixes
+ "List of regexps matching suffixes of output files to be deleted.
+The regexps will be anchored at the end of the file name to be matched,
+i.e. you do _not_ have to cater for this yourself by adding \\\\' or $."
+ :type '(repeat regexp)
+ :group 'TeX-command)
+
(provide 'plain-tex)
;;; plain-tex.el ends here
diff --git a/tex.el b/tex.el
index d9a0b93..51480d0 100644
--- a/tex.el
+++ b/tex.el
@@ -109,11 +109,6 @@ If nil, none is specified."
:type 'hook
:group 'TeX-misc)
-(defcustom AmS-TeX-mode-hook nil
- "A hook run in AmS-TeX mode buffers."
- :type 'hook
- :group 'TeX-misc)
-
;; This is the major configuration variable. Most sites will only need to
;; change the second string in each entry, which is the name of a command to
;; send to the shell. If you use other formatters like AMSLaTeX or AMSTeX, you
@@ -1038,6 +1033,7 @@ If RESET is non-nil, `TeX-command-next' is reset to
If no mode is given the current major mode is used."
(cdr (assoc (or mode major-mode) '((plain-tex-mode . "plain-TeX")
(latex-mode . "LaTeX")
+ (ams-tex-mode . "AmSTeX")
(doctex-mode . "docTeX")
(texinfo-mode . "Texinfo")
(context-mode . "ConTeXt")))))
- [elpa] externals/auctex updated (0e878e9 -> f761ab4), Tassilo Horn, 2018/09/16
- [elpa] externals/auctex f107ca1 02/48: Make compatible with emacs 24, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex cff0781 01/48: Fix incorrect FSF address, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex e783b97 04/48: Fix TeX-dwim-master, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 6112351 12/48: ; * style/geometry.el (LaTeX-geometry-preamble-key-val-options): Add luatex key., Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 3b758bf 06/48: Use `TeX-search-files-by-type' to assist input \includegraphics, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex a16a510 22/48: Replace another cl function with cl-lib, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 1a7b2bf 18/48: Adjust coding system for Japanese pTeX engine on w32, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 52d6a54 03/48: Make `TeX-clean' to work in ams-tex-mode,
Tassilo Horn <=
- [elpa] externals/auctex 15d3d97 08/48: Quote %b expansion string for SumatraPDF, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 68095a3 15/48: Fix previous removal of xemacs compatibility code, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 59fa964 05/48: Resolve conflict of argument spec between regexp and literal, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 94378c1 09/48: Correct record in changes.texi, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 00f0e0e 13/48: ; * tex.el (TeX-expand-list): Fix docstring (bug#31217)., Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 59a9e5b 10/48: Correct how `TeX-record-buffer' is used, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex c64a0e1 27/48: Quote %b expansion string for Zathura, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 4775f96 21/48: ; * tex-jp.el (japanese-TeX-self-insert-command): Silence byte compiler., Tassilo Horn, 2018/09/16
- [elpa] externals/auctex 96ba113 23/48: Support UTF-8 with BOM in Japanese TeX documents, Tassilo Horn, 2018/09/16
- [elpa] externals/auctex d5f98ae 32/48: ; Fix typos, Tassilo Horn, 2018/09/16