# HG changeset patch # User Gerd Moellmann # Date 1002828312 0 # Node ID 38b6f34f98dd99bfa80d7989741edc9fa0bd6b57 # Parent 20d3b87f7a2da8eb625015ee08d4e74a55db049d (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. diff -r 20d3b87f7a2d -r 38b6f34f98dd lisp/master.el --- a/lisp/master.el Thu Oct 11 19:21:26 2001 +0000 +++ b/lisp/master.el Thu Oct 11 19:25:12 2001 +0000 @@ -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 - - - ;;; History: ;; @@ -72,7 +68,8 @@ ;;; 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.