diff options
author | Gerd Moellmann <[email protected]> | 2001-10-11 19:25:47 +0000 |
---|---|---|
committer | Gerd Moellmann <[email protected]> | 2001-10-11 19:25:47 +0000 |
commit | a5be8a9aaccf1734531a51464ae75020f848d8e1 (patch) | |
tree | f1af32f683ddff36682476dc90af0e41cb6a932b | |
parent | 1ae6b8f19e3b5d49f8b7b7c9b14c9947265c72f3 (diff) |
(master-mode): Use define-minor-mode instead
of easy-mmode-define-minor-mode. Add autload cookie.
(Coomentary): Remove the line showing how to auload master-mode,
since it's always autoloaded.
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/master.el | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ab33861128..7d992d979f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,10 @@ 2001-10-11 Gerd Moellmann <[email protected]> + * master.el (master-mode): Use define-minor-mode instead of + easy-mmode-define-minor-mode. Add autload cookie. + (Coomentary): Remove the line showing how to autoload master-mode, + since it's always autoloaded. + * master.el: New file. 2001-10-11 Dave Love <[email protected]> diff --git a/lisp/master.el b/lisp/master.el index 157cfee13e..b61885e329 100644 --- a/lisp/master.el +++ b/lisp/master.el @@ -38,7 +38,6 @@ ;; sql-buffer contains the slave buffer. It is a local variable in the ;; SQL buffer. ;; -;; (autoload 'master-mode "master" "Master mode minor mode." t) ;; (add-hook 'sql-mode-hook ;; (function (lambda () ;; (master-mode t) @@ -51,9 +50,6 @@ ;; ;; Rob Riepel <networking.stanford.edu> - - - ;;; History: ;; @@ -72,7 +68,8 @@ You can set this variable using `master-set-slave'.") ;;; Define master mode. -(easy-mmode-define-minor-mode master-mode +;;;###autoload +(define-minor-mode master-mode "Toggle Master mode. With no argument, this command toggles the mode. Non-null prefix argument turns on the mode. |