summaryrefslogtreecommitdiff
path: root/lisp/master.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/master.el')
-rw-r--r--lisp/master.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/master.el b/lisp/master.el
index 32556a535f3..88baa1f8218 100644
--- a/lisp/master.el
+++ b/lisp/master.el
@@ -96,8 +96,7 @@ yourself the value of `master-of' by calling `master-show-slave'."
"Makes BUFFER the slave of the current buffer.
Use \\[master-mode] to toggle control of the slave buffer."
(interactive "bSlave: ")
- (make-local-variable 'master-of)
- (setq master-of buffer)
+ (setq-local master-of buffer)
(run-hooks 'master-set-slave-hook))
(defun master-show-slave ()