[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex c540e3a 30/34: Define minor modes using keywords
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex c540e3a 30/34: Define minor modes using keywords |
Date: |
Sun, 6 Jun 2021 11:40:06 -0400 (EDT) |
branch: externals/auctex
commit c540e3a5b847693219aa6f5badb6aa45194c81ce
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Define minor modes using keywords
* tex.el (TeX-Omega-mode, TeX-interactive-mode):
* tex-fold.el (TeX-fold-mode):
* style/kpfonts.el (LaTeX-kpfonts-mode):
* latex.el (LaTeX-math-mode): Use keywords to define minor modes.
---
latex.el | 4 +++-
style/kpfonts.el | 4 +++-
tex-fold.el | 4 +++-
tex.el | 4 ++--
4 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/latex.el b/latex.el
index 8145158..70f8866 100644
--- a/latex.el
+++ b/latex.el
@@ -5513,7 +5513,9 @@ the symbols will be surrounded by dollar signs. The
following
commands are defined:
\\{LaTeX-math-mode-map}"
- nil nil (list (cons (LaTeX-math-abbrev-prefix) LaTeX-math-keymap))
+ :init-value nil
+ :lighter nil
+ :keymap (list (cons (LaTeX-math-abbrev-prefix) LaTeX-math-keymap))
(TeX-set-mode-name))
(defalias 'latex-math-mode #'LaTeX-math-mode)
diff --git a/style/kpfonts.el b/style/kpfonts.el
index 654378f..8dec44c 100644
--- a/style/kpfonts.el
+++ b/style/kpfonts.el
@@ -508,7 +508,9 @@ argument, the symbols will be surrounded by dollar signs.
The
following commands are defined:
\\{LaTeX-kpfonts-mode-map}"
- nil nil (list (cons (LaTeX-kpfonts-abbrev-prefix) LaTeX-kpfonts-keymap))
+ :init-value nil
+ :lighter nil
+ :keymap (list (cons (LaTeX-kpfonts-abbrev-prefix) LaTeX-kpfonts-keymap))
(TeX-set-mode-name))
(easy-menu-define LaTeX-kpfonts-mode-menu
diff --git a/tex-fold.el b/tex-fold.el
index ba7e9c0..9eab077 100644
--- a/tex-fold.el
+++ b/tex-fold.el
@@ -897,7 +897,9 @@ the other elements. The ordering among elements is
maintained."
Called interactively, with no prefix argument, toggle the mode.
With universal prefix ARG (or if ARG is nil) turn mode on.
With zero or negative ARG turn mode off."
- nil nil (list (cons TeX-fold-command-prefix TeX-fold-keymap))
+ :init-value nil
+ :lighter nil
+ :keymap (list (cons TeX-fold-command-prefix TeX-fold-keymap))
(if TeX-fold-mode
(progn
(set (make-local-variable 'search-invisible) t)
diff --git a/tex.el b/tex.el
index 12d401d..d7eca44 100644
--- a/tex.el
+++ b/tex.el
@@ -1601,7 +1601,7 @@ For available TYPEs, see variable `TeX-engine'."
(define-minor-mode TeX-Omega-mode
"Minor mode for using the Omega engine."
- nil nil nil
+ :init-value nil :lighter nil :keymap nil
:group 'TeX-command
(TeX-engine-set (if TeX-Omega-mode 'omega 'default)))
(defalias 'tex-omega-mode #'TeX-Omega-mode)
@@ -2123,7 +2123,7 @@ for backward compatibility."
(define-minor-mode TeX-interactive-mode
"Minor mode for interactive runs of TeX."
- nil nil nil
+ :init-value nil :lighter nil :keymap nil
:group 'TeX-command
(TeX-set-mode-name 'TeX-interactive-mode t t))
(defalias 'tex-interactive-mode #'TeX-interactive-mode)
- [elpa] externals/auctex b5f34a9 23/34: Followup my commit on May 6, (continued)
- [elpa] externals/auctex b5f34a9 23/34: Followup my commit on May 6, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex a21c10a 29/34: Check for `auto-fill-function' before filling, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex 93d66d1 31/34: Adapt for Texinfo mode, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex 8990190 16/34: Improve style/algorithm.el, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex 34ab611 22/34: Improve completion, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex a8e1a5d 18/34: Update documentation, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex 1ded6fc 24/34: Fix markups in documents, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex e7b25d1 26/34: Use #' rather than ' to quote function names, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex bb1bb25 27/34: Remove backspace as paragraph separator, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex 154fc6e 28/34: Only re-fill \item contents if auto-fill-mode is active (bug#48760), Tassilo Horn, 2021/06/06
- [elpa] externals/auctex c540e3a 30/34: Define minor modes using keywords,
Tassilo Horn <=
- [elpa] externals/auctex cd63c11 32/34: Use own error description for LaTeX mode only, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex dfd6585 33/34: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex 81ce0ee 19/34: Add -dDELAYBIND only when necessary, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex b0c5a4e 20/34: Delete style/latexinfo.el from AUCTeX, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex 6c32b97 34/34: Release GNU AUCTeX 13.0.12, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex 1d32138 25/34: ; Silence the compiler, Tassilo Horn, 2021/06/06