Commits

Anonymous committed d6ad5c8

regexp-opt GNU API + compatibility sync <1067191151.3092.81.camel@bobcat.mine.nu>.

Comments (0)

Files changed (2)

+2003-10-19  Ville Skyttä  <scop@xemacs.org>
+
+	* mmm-compat.el (mmm-regexp-opt): Alias to regexp-opt
+	according to new, synced regexp-opt interface.
+
 2003-03-21  Ben Wing  <ben@xemacs.org>
 
 	* .cvsignore: Add entries for mmm*.html.
 ;;}}}
 ;;{{{ 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)))
+;; XEmacs change: not needed since xemacs-base > 1.81.
+(defalias 'mmm-regexp-opt 'regexp-opt)
+;(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)))
 
 ;;}}}
 ;;{{{ Overlays (XEmacs)
 
 (provide 'mmm-compat)
 
-;;; mmm-compat.el ends here
+;;; mmm-compat.el ends here