aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2001-10-11 19:25:47 +0000
committerGerd Moellmann2001-10-11 19:25:47 +0000
commita5be8a9aaccf1734531a51464ae75020f848d8e1 (patch)
treef1af32f683ddff36682476dc90af0e41cb6a932b
parent1ae6b8f19e3b5d49f8b7b7c9b14c9947265c72f3 (diff)
downloademacs-a5be8a9aaccf1734531a51464ae75020f848d8e1.tar.gz
emacs-a5be8a9aaccf1734531a51464ae75020f848d8e1.zip
(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/ChangeLog5
-rw-r--r--lisp/master.el7
2 files changed, 7 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ab33861128d..7d992d979f1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
12001-10-11 Gerd Moellmann <gerd@gnu.org> 12001-10-11 Gerd Moellmann <gerd@gnu.org>
2 2
3 * master.el (master-mode): Use define-minor-mode instead of
4 easy-mmode-define-minor-mode. Add autload cookie.
5 (Coomentary): Remove the line showing how to autoload master-mode,
6 since it's always autoloaded.
7
3 * master.el: New file. 8 * master.el: New file.
4 9
52001-10-11 Dave Love <fx@gnu.org> 102001-10-11 Dave Love <fx@gnu.org>
diff --git a/lisp/master.el b/lisp/master.el
index 157cfee13e0..b61885e329e 100644
--- a/lisp/master.el
+++ b/lisp/master.el
@@ -38,7 +38,6 @@
38;; sql-buffer contains the slave buffer. It is a local variable in the 38;; sql-buffer contains the slave buffer. It is a local variable in the
39;; SQL buffer. 39;; SQL buffer.
40;; 40;;
41;; (autoload 'master-mode "master" "Master mode minor mode." t)
42;; (add-hook 'sql-mode-hook 41;; (add-hook 'sql-mode-hook
43;; (function (lambda () 42;; (function (lambda ()
44;; (master-mode t) 43;; (master-mode t)
@@ -51,9 +50,6 @@
51;; 50;;
52;; Rob Riepel <networking.stanford.edu> 51;; Rob Riepel <networking.stanford.edu>
53 52
54
55
56
57;;; History: 53;;; History:
58;; 54;;
59 55
@@ -72,7 +68,8 @@ You can set this variable using `master-set-slave'.")
72 68
73;;; Define master mode. 69;;; Define master mode.
74 70
75(easy-mmode-define-minor-mode master-mode 71;;;###autoload
72(define-minor-mode master-mode
76 "Toggle Master mode. 73 "Toggle Master mode.
77With no argument, this command toggles the mode. 74With no argument, this command toggles the mode.
78Non-null prefix argument turns on the mode. 75Non-null prefix argument turns on the mode.