changeset 39781:38b6f34f98dd

(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.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 11 Oct 2001 19:25:12 +0000
parents 20d3b87f7a2d
children 429593db5992
files lisp/master.el
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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 <networking.stanford.edu>
 
-
-
-
 ;;; 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.