[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master fff25f6 311/433: Note that 'autogen.sh' should be run to g
From: |
Dmitry Gutov |
Subject: |
[elpa] master fff25f6 311/433: Note that 'autogen.sh' should be run to generate 'configure' and 'Makefile.in' (see #11) |
Date: |
Thu, 15 Mar 2018 19:44:26 -0400 (EDT) |
branch: master
commit fff25f63b965a5cef6482bad0c91a1a0f866634d
Author: Steve Purcell <address@hidden>
Commit: Steve Purcell <address@hidden>
Note that 'autogen.sh' should be run to generate 'configure' and
'Makefile.in' (see #11)
---
.gitignore | 4 ++++
README | 1 +
mmm-erb.el | 22 ++++++++++++++--------
3 files changed, 19 insertions(+), 8 deletions(-)
diff --git a/.gitignore b/.gitignore
index c531d98..4700f32 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,5 @@
+autom4te.cache
+aclocal.m4
+configure
+Makefile.in
*.elc
diff --git a/README b/README
index fdcb874..6d8ce4c 100644
--- a/README
+++ b/README
@@ -19,6 +19,7 @@ INSTALLATION
To install in the standard locations, unpack the archive, `cd' to
the mmm-mode-X.X.X directory created, and run these commands:
+ ./autogen.sh
./configure
make
make install
diff --git a/mmm-erb.el b/mmm-erb.el
index 10d8e79..75eba51 100644
--- a/mmm-erb.el
+++ b/mmm-erb.el
@@ -112,12 +112,20 @@
(pushnew '(indent-line-function buffer) mmm-save-local-variables)
;;;###autoload
-(define-derived-mode html-erb-mode html-mode "ERB-HTML"
+(define-minor-mode mmm-html-minor-mode
+ "Minor mode which provides context and set-up for HTML-related mmm-mode
classes."
+ nil " ERB" nil
(setq sgml-unclosed-tags nil) ; Simplifies indentation logic.
- (add-hook 'mmm-html-erb-mode-hook 'mmm-erb-process-submode nil t)
- (add-hook 'mmm-ruby-mode-submode-hook 'mmm-erb-process-submode nil t)
- (add-hook 'mmm-css-mode-submode-hook 'mmm-erb-process-submode nil t)
- (add-hook 'mmm-js-mode-submode-hook 'mmm-erb-process-submode nil t))
+ (dolist (hook '(mmm-html-erb-mode-hook
+ mmm-nxml-web-mode-hook
+ mmm-ruby-mode-submode-hook
+ mmm-css-mode-submode-hook
+ mmm-js-mode-submode-hook))
+ (add-hook hook 'mmm-erb-process-submode nil t)))
+
+;;;###autoload
+(define-derived-mode html-erb-mode html-mode "ERB-HTML"
+ (mmm-html-minor-mode t))
(defun mmm-erb-process-submode ()
"Hook function to run after primary or submode major mode function."
@@ -257,9 +265,7 @@
;;;###autoload
(define-derived-mode nxml-web-mode nxml-mode "nXML-Web"
- (add-hook 'mmm-nxml-web-mode-hook 'mmm-erb-process-submode nil t)
- (add-hook 'mmm-css-mode-submode-hook 'mmm-erb-process-submode nil t)
- (add-hook 'mmm-js-mode-submode-hook 'mmm-erb-process-submode nil t))
+ (mmm-html-minor-mode t))
(provide 'mmm-erb)
- [elpa] master 631e7f1 408/433: Add c-symbol-char-key to the saved variables, (continued)
- [elpa] master 631e7f1 408/433: Add c-symbol-char-key to the saved variables, Dmitry Gutov, 2018/03/15
- [elpa] master c493716 404/433: Revert "mmm-match-region: Return front-pos even without front-delim; likewise for back", Dmitry Gutov, 2018/03/15
- [elpa] master d2c8ade 428/433: More text, Dmitry Gutov, 2018/03/15
- [elpa] master 7661968 415/433: Merge pull request #74 from AdamNiederer/master, Dmitry Gutov, 2018/03/15
- [elpa] master 6812418 424/433: Add a FIXME, Dmitry Gutov, 2018/03/15
- [elpa] master 93cd2cf 412/433: Add function for narrowed indentation, Dmitry Gutov, 2018/03/15
- [elpa] master 16d937d 019/433: Added files required by automake., Dmitry Gutov, 2018/03/15
- [elpa] master 8e205dd 400/433: Don't use version.texi at all, Dmitry Gutov, 2018/03/15
- [elpa] master 2ca7e6a 300/433: Add header comment, provide description, Dmitry Gutov, 2018/03/15
- [elpa] master 956354f 375/433: Fix missing var declaration, Dmitry Gutov, 2018/03/15
- [elpa] master fff25f6 311/433: Note that 'autogen.sh' should be run to generate 'configure' and 'Makefile.in' (see #11),
Dmitry Gutov <=
- [elpa] master 3fb2964 416/433: Update Michael's email address to an active one, Dmitry Gutov, 2018/03/15
- [elpa] master 6c5d442 425/433: Fix copyright entry, Dmitry Gutov, 2018/03/15
- [elpa] master e848ef1 323/433: * mmm-fontify-region: Save and restore submode, overlay and local vars, Dmitry Gutov, 2018/03/15
- [elpa] master 004a618 370/433: Fix #23, Dmitry Gutov, 2018/03/15
- [elpa] master 53524db 389/433: Remove version.texi from the repo, Dmitry Gutov, 2018/03/15
- [elpa] master 2c9532b 326/433: Simplify mmm-update-mode-info, Dmitry Gutov, 2018/03/15
- [elpa] master e767fa2 265/433: Added script and documentation for installing from CVS, Dmitry Gutov, 2018/03/15
- [elpa] master 7965887 279/433: Fix error in mmm-mode when Emacs 23 immediately evaporates zero-width submode regions, Dmitry Gutov, 2018/03/15
- [elpa] master 7da80fb 422/433: Add cl-lib package dependency, Dmitry Gutov, 2018/03/15
- [elpa] master cd66bdd 316/433: Improve mmm-erb usage instructions, Dmitry Gutov, 2018/03/15