# HG changeset patch # User Richard M. Stallman # Date 1112303731 0 # Node ID ef26a481327ed9ca4a84fd9d7ddf16d5608cb076 # Parent 0609cac4453fd48c30c45f6f657a7819fe1656e3 (define-global-minor-mode): Renamed from easy-mmode-define-global-mode. (easy-mmode-define-global-mode): Alias for define-global-minor-mode. diff -r 0609cac4453f -r ef26a481327e lisp/emacs-lisp/easy-mmode.el --- 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.