[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master d6dc934 203/433: (mmm-here-doc-get-mode): Try each word in
From: |
Dmitry Gutov |
Subject: |
[elpa] master d6dc934 203/433: (mmm-here-doc-get-mode): Try each word individually first. |
Date: |
Thu, 15 Mar 2018 19:44:02 -0400 (EDT) |
branch: master
commit d6dc934b663c27abbfa116b507e74d4e6f289a1e
Author: mas <mas>
Commit: mas <mas>
(mmm-here-doc-get-mode): Try each word individually first.
---
mmm-sample.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/mmm-sample.el b/mmm-sample.el
index dd426d8..d9e0e82 100644
--- a/mmm-sample.el
+++ b/mmm-sample.el
@@ -3,7 +3,7 @@
;; Copyright (C) 2000 by Michael Abraham Shulman
;; Author: Michael Abraham Shulman <address@hidden>
-;; Version: $Id: mmm-sample.el,v 1.15 2001/01/15 00:52:36 mas Exp $
+;; Version: $Id: mmm-sample.el,v 1.16 2001/01/15 00:57:43 mas Exp $
;;{{{ GPL
@@ -102,6 +102,10 @@ and MODE is a major mode function symbol.")
(nconc (ldiff words (member "mode" words))
(list "mode"))
"-")))
+ ;; Try each word by itself (preference list)
+ (some #'(lambda (word)
+ (mmm-ensure-modename (intern word)))
+ words)
;; Try each word with -mode tacked on
(some #'(lambda (word)
(mmm-ensure-modename
- [elpa] master d2c692b 222/433: # Listed keyword arguments that edebug needs (in a comment), (continued)
- [elpa] master d2c692b 222/433: # Listed keyword arguments that edebug needs (in a comment), Dmitry Gutov, 2018/03/15
- [elpa] master 4b1267a 230/433: Added `sgml-dtd' submode class from Yann Dirson <address@hidden>., Dmitry Gutov, 2018/03/15
- [elpa] master 4cfee12 209/433: Updated chapter/section headings and menus., Dmitry Gutov, 2018/03/15
- [elpa] master 7511773 184/433: # Changed email address, Dmitry Gutov, 2018/03/15
- [elpa] master 4351361 191/433: Added alist to keep track of user-preferred major modes., Dmitry Gutov, 2018/03/15
- [elpa] master ea97875 231/433: Added C indentation style variables., Dmitry Gutov, 2018/03/15
- [elpa] master 80134a4 237/433: * mmm-sample.el (jsp): Added jsp-comment submode type., Dmitry Gutov, 2018/03/15
- [elpa] master b571d27 236/433: * FAQ: Don't quote argument to `setq'. :-), Dmitry Gutov, 2018/03/15
- [elpa] master cb27602 221/433: Corrected reference to `javascript' class to `html-js'., Dmitry Gutov, 2018/03/15
- [elpa] master 3c2f878 243/433: # Updated, Dmitry Gutov, 2018/03/15
- [elpa] master d6dc934 203/433: (mmm-here-doc-get-mode): Try each word individually first.,
Dmitry Gutov <=
- [elpa] master 9b857f5 255/433: Added Noweb documentation (Joe Kelsey), Dmitry Gutov, 2018/03/15
- [elpa] master 6485ce3 259/433: Fixed stupid bug, so autoloading will actually work, Dmitry Gutov, 2018/03/15
- [elpa] master d242111 258/433: *** empty log message ***, Dmitry Gutov, 2018/03/15
- [elpa] master c75f330 317/433: Merge pull request #15 from dgutov/master, Dmitry Gutov, 2018/03/15
- [elpa] master c1997e1 313/433: Revert unintended check-in of mmm-erb changes, Dmitry Gutov, 2018/03/15
- [elpa] master c42fcb2 286/433: Compatibility fix for mode line format of Emacs 23, Dmitry Gutov, 2018/03/15
- [elpa] master b171ba0 324/433: Merge pull request #17 from dgutov/retro, Dmitry Gutov, 2018/03/15
- [elpa] master 53bd8b4 319/433: Remove duplicate entries, Dmitry Gutov, 2018/03/15
- [elpa] master 5f276a1 307/433: Update instructions and docstrings, Dmitry Gutov, 2018/03/15
- [elpa] master a0b1ecc 320/433: Merge pull request #16 from dgutov/c++-mode, Dmitry Gutov, 2018/03/15