changeset 61175:ef26a481327e

(define-global-minor-mode): Renamed from easy-mmode-define-global-mode. (easy-mmode-define-global-mode): Alias for define-global-minor-mode.
author Richard M. Stallman <rms@gnu.org>
date Thu, 31 Mar 2005 21:15:31 +0000
parents 0609cac4453f
children b5c1a67a6467
files lisp/emacs-lisp/easy-mmode.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/easy-mmode.el	Thu Mar 31 20:14:03 2005 +0000
+++ b/lisp/emacs-lisp/easy-mmode.el	Thu Mar 31 21:15:31 2005 +0000
@@ -254,8 +254,9 @@
 ;;;
 
 ;;;###autoload
-(defmacro easy-mmode-define-global-mode (global-mode mode turn-on
-						     &rest keys)
+(defalias 'easy-mmode-define-global-mode 'define-global-minor-mode)
+;;;###autoload
+(defmacro define-global-minor-mode (global-mode mode turn-on &rest keys)
   "Make GLOBAL-MODE out of the buffer-local minor MODE.
 TURN-ON is a function that will be called with no args in every buffer
   and that should try to turn MODE on if applicable for that buffer.