Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
baeabe07
Commit
baeabe07
authored
Apr 04, 2005
by
Lute Kamstra
Browse files
Don't require easy-mmode.
(master): New customization group. (master-mode): Specify :group.
parent
6786cab2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
lisp/master.el
lisp/master.el
+12
-12
No files found.
lisp/master.el
View file @
baeabe07
;;; 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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment