diff options
author | Richard M. Stallman <rms@gnu.org> | 2005-03-31 21:16:54 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2005-03-31 21:16:54 +0000 |
commit | 39a27f952b3d1d7a08f4d747b0015e821c9ecc96 (patch) | |
tree | d5b313c576989d6720321151804da231527e15db /lisp/emacs-lisp | |
parent | d0e50224dd4f962d9956dc29bcbe6757021f2151 (diff) | |
download | emacs-39a27f952b3d1d7a08f4d747b0015e821c9ecc96.tar.gz emacs-39a27f952b3d1d7a08f4d747b0015e821c9ecc96.tar.bz2 emacs-39a27f952b3d1d7a08f4d747b0015e821c9ecc96.zip |
(define-global-minor-mode): Renamed from easy-mmode-define-global-mode.
(easy-mmode-define-global-mode): Alias for define-global-minor-mode.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/easy-mmode.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index da93190f2e9..a96b1741139 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el @@ -254,8 +254,9 @@ With zero or negative ARG turn mode off. ;;; ;;;###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. |