diff options
author | Lute Kamstra <lute@gnu.org> | 2005-04-04 09:02:15 +0000 |
---|---|---|
committer | Lute Kamstra <lute@gnu.org> | 2005-04-04 09:02:15 +0000 |
commit | baeabe078c8fcb52a12b920518c5a837bcfb76c4 (patch) | |
tree | 320a991da0cb4e69f6fb4cfcf6eb29455825cd57 /lisp/master.el | |
parent | 6786cab27226019951ab4247097c98c5cf1c785a (diff) | |
download | emacs-baeabe078c8fcb52a12b920518c5a837bcfb76c4.tar.gz |
Don't require easy-mmode.
(master): New customization group.
(master-mode): Specify :group.
Diffstat (limited to 'lisp/master.el')
-rw-r--r-- | lisp/master.el | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lisp/master.el b/lisp/master.el index ce4144f087c..b9908e82b55 100644 --- a/lisp/master.el +++ b/lisp/master.el @@ -1,6 +1,6 @@ ;;; master.el --- make a buffer the master over another buffer -;; Copyright (C) 1999, 2000, 2001 Alexander Schroeder +;; Copyright (C) 1999, 2000, 2001, 2005 Alexander Schroeder ;; Author: Alex Schroeder <alex@gnu.org> ;; Maintainer: Alex Schroeder <alex@gnu.org> @@ -55,7 +55,10 @@ ;;; Code: -(require 'easy-mmode) +(defgroup master nil + "Support for master/slave relationships between buffers." + :version "22.1" + :group 'convenience) ;; Variables that don't need initialization. @@ -83,16 +86,13 @@ following commands: The slave buffer is stored in the buffer-local variable `master-of'. You can set this variable using `master-set-slave'. You can show yourself the value of `master-of' by calling `master-show-slave'." - ;; The initial value. - nil - ;; The indicator for the mode line. - nil - ;; The minor mode bindings. - '(("\C-c\C-n" . master-says-scroll-up) - ("\C-c\C-p" . master-says-scroll-down) - ("\C-c<" . master-says-beginning-of-buffer) - ("\C-c>" . master-says-end-of-buffer) - ("\C-c\C-l" . master-says-recenter))) + :group 'master + :keymap + '(("\C-c\C-n" . master-says-scroll-up) + ("\C-c\C-p" . master-says-scroll-down) + ("\C-c<" . master-says-beginning-of-buffer) + ("\C-c>" . master-says-end-of-buffer) + ("\C-c\C-l" . master-says-recenter))) ;; Initialize Master mode by setting a slave buffer. |