254 |
;;; |
;;; |
255 |
|
|
256 |
;;;###autoload |
;;;###autoload |
257 |
(defmacro easy-mmode-define-global-mode (global-mode mode turn-on |
(defalias 'easy-mmode-define-global-mode 'define-global-minor-mode) |
258 |
&rest keys) |
;;;###autoload |
259 |
|
(defmacro define-global-minor-mode (global-mode mode turn-on &rest keys) |
260 |
"Make GLOBAL-MODE out of the buffer-local minor MODE. |
"Make GLOBAL-MODE out of the buffer-local minor MODE. |
261 |
TURN-ON is a function that will be called with no args in every buffer |
TURN-ON is a function that will be called with no args in every buffer |
262 |
and that should try to turn MODE on if applicable for that buffer. |
and that should try to turn MODE on if applicable for that buffer. |