[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 23ff01c 017/433: Pre-added major mode hook to text-mode-ho
From: |
Dmitry Gutov |
Subject: |
[elpa] master 23ff01c 017/433: Pre-added major mode hook to text-mode-hook. |
Date: |
Thu, 15 Mar 2018 19:43:27 -0400 (EDT) |
branch: master
commit 23ff01cb569b5381b1ea2dd3e20dc1088d407047
Author: mas <mas>
Commit: mas <mas>
Pre-added major mode hook to text-mode-hook.
---
mmm-auto.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/mmm-auto.el b/mmm-auto.el
index 7242518..0baa29a 100644
--- a/mmm-auto.el
+++ b/mmm-auto.el
@@ -3,7 +3,7 @@
;; Copyright (C) 2000 by Michael Abraham Shulman
;; Author: Michael Abraham Shulman <address@hidden>
-;; Version: $Id: mmm-auto.el,v 1.4 2000/05/18 18:27:07 mas Exp $
+;; Version: $Id: mmm-auto.el,v 1.5 2000/05/24 09:13:00 mas Exp $
;;{{{ GPL
@@ -122,6 +122,11 @@ Otherwise, return nil."
(string= (substring name -5) "-mode")
(intern (format "%s-hook" name))))))
+;; Some modes that derive from text-mode, such as mh-letter-mode and
+;; AucTeX latex-mode, aren't well-behaved. They do generally run
+;; text-mode-hook, though, so we can pre-initialize that.
+(add-hook 'text-mode-hook 'mmm-run-major-mode-hook)
+
;;}}}
;;{{{ MMM Global Mode
- [elpa] master 0fcfb2b 004/433: Required font-lock and mmm-auto at top level for byte compilation., (continued)
- [elpa] master 0fcfb2b 004/433: Required font-lock and mmm-auto at top level for byte compilation., Dmitry Gutov, 2018/03/15
- [elpa] master 20bdf05 010/433: Changed insertion key of <%doc> to `d' and added insertion of %#, Dmitry Gutov, 2018/03/15
- [elpa] master 47952d1 007/433: Added dependencies on mmm-compat and mmm-vars., Dmitry Gutov, 2018/03/15
- [elpa] master 73dab9f 011/433: Fixed bug: # is not allowed in symbols., Dmitry Gutov, 2018/03/15
- [elpa] master 70899d9 005/433: Changed (progn (require ...)) to (when t (require ...)) because the, Dmitry Gutov, 2018/03/15
- [elpa] master ffdc253 013/433: `require'd mmm-vars at top level for byte-compiling., Dmitry Gutov, 2018/03/15
- [elpa] master aaf649c 016/433: (mmm-version): changed to 0.3.8., Dmitry Gutov, 2018/03/15
- [elpa] master 9b5e8f4 009/433: Distinguished between Perl sections and pseudo-Perl sections. The one, Dmitry Gutov, 2018/03/15
- [elpa] master 4ccebfd 014/433: Moved `require's back to top level for byte-compiling., Dmitry Gutov, 2018/03/15
- [elpa] master da0aa8f 015/433: Moved `require's back to top level for byte-compiling. Added dummy, Dmitry Gutov, 2018/03/15
- [elpa] master 23ff01c 017/433: Pre-added major mode hook to text-mode-hook.,
Dmitry Gutov <=
- [elpa] master 706c1c3 020/433: Ignored Makefile.in, Makefile, and configure., Dmitry Gutov, 2018/03/15
- [elpa] master 190ba7f 012/433: Added all the elisp files to EXTRA_DIST, since Automake doesn't see, Dmitry Gutov, 2018/03/15
- [elpa] master 2f740d8 022/433: Added info file and auxiliary compilation and texinfo files., Dmitry Gutov, 2018/03/15
- [elpa] master 821960c 021/433: Added configure auxiliary files., Dmitry Gutov, 2018/03/15
- [elpa] master 455ee7c 006/433: Initial revision, Dmitry Gutov, 2018/03/15
- [elpa] master fa54563 027/433: # Updated., Dmitry Gutov, 2018/03/15
- [elpa] master fd76a7a 024/433: # Per-buffer local variable saving., Dmitry Gutov, 2018/03/15
- [elpa] master e1532c5 025/433: # Updated., Dmitry Gutov, 2018/03/15
- [elpa] master 2cecadb 030/433: Released 0.3.10., Dmitry Gutov, 2018/03/15
- [elpa] master 537d48a 029/433: # Added .tar.gz files., Dmitry Gutov, 2018/03/15