aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2001-10-11 19:29:47 +0000
committerGerd Moellmann2001-10-11 19:29:47 +0000
commitadb6f9dc927d210c59f7f2f165b672f46eb09c2e (patch)
tree384be64a30a5fb1ad5cfcb0126985342d0ae43b8
parentabeadfeeb5ea684faca004ed8aee49763d12518c (diff)
downloademacs-adb6f9dc927d210c59f7f2f165b672f46eb09c2e.tar.gz
emacs-adb6f9dc927d210c59f7f2f165b672f46eb09c2e.zip
Master-mode.
-rw-r--r--etc/NEWS20
1 files changed, 20 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 35f9a550756..b720c2bfc67 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -39,6 +39,26 @@ in case it has been renamed.
39change the `fill-column', `window-margins' and `tab-stop-list' 39change the `fill-column', `window-margins' and `tab-stop-list'
40settings. 40settings.
41 41
42*** master-mode.el implements a minor mode for scrolling a slave
43buffer without leaving your current buffer, the master buffer.
44
45It can be used by sql.el, for example: the SQL buffer is the master
46and its SQLi buffer is the slave. This allows you to scroll the SQLi
47buffer containing the output from the SQL buffer containing the
48commands.
49
50This is how to use sql.el and master.el together: the variable
51sql-buffer contains the slave buffer. It is a local variable in the
52SQL buffer.
53
54(add-hook 'sql-mode-hook
55 (function (lambda ()
56 (master-mode t)
57 (master-set-slave sql-buffer))))
58(add-hook 'sql-set-sqli-hook
59 (function (lambda ()
60 (master-set-slave sql-buffer))))
61
42 62
43* Lisp Changes in Emacs 21.2 63* Lisp Changes in Emacs 21.2
44 64