[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 141bbee 352/433: Remove regexp-opt's legacy stuff
From: |
Dmitry Gutov |
Subject: |
[elpa] master 141bbee 352/433: Remove regexp-opt's legacy stuff |
Date: |
Thu, 15 Mar 2018 19:44:34 -0400 (EDT) |
branch: master
commit 141bbee49f75668591aa90e93e74ed0583e2d63e
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Remove regexp-opt's legacy stuff
https://sourceforge.net/tracker/?func=detail&aid=832660&group_id=8658&atid=308658
http://list-archive.xemacs.org/pipermail/xemacs-beta/2004-January/000147.html
---
mmm-compat.el | 24 +++---------------------
1 file changed, 3 insertions(+), 21 deletions(-)
diff --git a/mmm-compat.el b/mmm-compat.el
index 01842fd..f46510b 100644
--- a/mmm-compat.el
+++ b/mmm-compat.el
@@ -70,29 +70,11 @@
`(defvar ,var ,value ,doc)))
;;}}}
-;;{{{ Regexp-Opt (Emacs 19)
-
-(condition-case ()
- (require 'regexp-opt)
- (error nil))
-
-(unless (and (featurep 'regexp-opt)
- (fboundp 'regexp-opt))
- ;; No regexp-opt; create one
- (defun regexp-opt (strings &optional paren)
- (concat (if paren "\\(" "")
- (mapconcat 'regexp-quote strings "\\|")
- (if paren "\\)" ""))))
-
-;;}}}
;;{{{ Regexp-Opt (XEmacs)
-(defmacro mmm-regexp-opt (strings paren)
- "Act like FSF Emacs' `regexp-opt', whichever Emacs we're in.
-XEmacs' `regexp-opt' requires an extra parameter to do grouping."
- (if (featurep 'xemacs)
- `(regexp-opt ,strings ,paren t)
- `(regexp-opt ,strings ,paren)))
+;; As of XEmacs' xemacs-base package version 1.82,
+;; the regexp-opt API is compatible with GNU Emacs.
+(defalias 'mmm-regexp-opt 'regexp-opt)
;;}}}
;;{{{ Overlays (XEmacs)
- [elpa] master 7965887 279/433: Fix error in mmm-mode when Emacs 23 immediately evaporates zero-width submode regions, (continued)
- [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
- [elpa] master 2e06d3d 356/433: Remove the useless CVS $Id tags, Dmitry Gutov, 2018/03/15
- [elpa] master 68fe94d 274/433: (mmm-ify): Change defaults for front-delim and, Dmitry Gutov, 2018/03/15
- [elpa] master 28d51d2 312/433: Note availability of Melpa packages, Dmitry Gutov, 2018/03/15
- [elpa] master 406e120 330/433: Merge pull request #19 from dgutov/font-lock, Dmitry Gutov, 2018/03/15
- [elpa] master 509660a 354/433: Merge pull request #22 from purcell/indentation, Dmitry Gutov, 2018/03/15
- [elpa] master e583767 284/433: Provide more sensible face defaults for dark and light backgrounds, Dmitry Gutov, 2018/03/15
- [elpa] master c28501c 387/433: Don't use syntax-begin-function, Dmitry Gutov, 2018/03/15
- [elpa] master 141bbee 352/433: Remove regexp-opt's legacy stuff,
Dmitry Gutov <=
- [elpa] master ff4c564 344/433: * mmm-noweb.el: Add the FIXME note., Dmitry Gutov, 2018/03/15
- [elpa] master 5c152e0 334/433: Merge pull request #20 from dgutov/overlays, Dmitry Gutov, 2018/03/15
- [elpa] master 16907a3 368/433: Delete .cvsignore, move almost everything to .gitignore, Dmitry Gutov, 2018/03/15
- [elpa] master df0d56b 406/433: Fix regression from the previous commit, Dmitry Gutov, 2018/03/15
- [elpa] master 50764ae 269/433: Fixed back recognition of output regions., Dmitry Gutov, 2018/03/15
- [elpa] master cb905bd 431/433: Add copyright blurbs to the test files, Dmitry Gutov, 2018/03/15
- [elpa] master 38f1f2a 390/433: Update TODO, Dmitry Gutov, 2018/03/15
- [elpa] master 6406e1a 357/433: Update NEWS, Dmitry Gutov, 2018/03/15
- [elpa] master a57afa3 421/433: Release 0.5.5, Dmitry Gutov, 2018/03/15
- [elpa] master fd3c992 378/433: Fix sporadic keywords mishighlighting in sql-mode, Dmitry Gutov, 2018/03/15