]> git.eshelyaron.com Git - emacs.git/commitdiff
(master-mode): Use define-minor-mode instead
authorGerd Moellmann <gerd@gnu.org>
Thu, 11 Oct 2001 19:25:47 +0000 (19:25 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 11 Oct 2001 19:25:47 +0000 (19:25 +0000)
of easy-mmode-define-minor-mode.  Add autload cookie.
(Coomentary): Remove the line showing how to auload master-mode,
since it's always autoloaded.

lisp/ChangeLog
lisp/master.el

index ab33861128dfa6049436f2f05a7f63cb09c3b0ca..7d992d979f15dfdc960d3c1dff5099113b968fe3 100644 (file)
@@ -1,5 +1,10 @@
 2001-10-11  Gerd Moellmann  <gerd@gnu.org>
 
+       * 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  <fx@gnu.org>
index 157cfee13e0bff874f411a4e07fa1ed3fb737370..b61885e329e61d3f3707eb04d832f13346b0f77b 100644 (file)
@@ -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>
 
-\f
-
-
 ;;; 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.