summaryrefslogtreecommitdiff
path: root/lisp/window.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-05-05 15:06:25 +0000
committerRichard M. Stallman <rms@gnu.org>1997-05-05 15:06:25 +0000
commit30e19aee8562bfd1370098f1af95e100c964da30 (patch)
tree296158f585642e486a5928f5dc5f1ee6b2b36437 /lisp/window.el
parent9d325ebf0d4ff46c16515abcfb17310b246b4b86 (diff)
downloademacs-30e19aee8562bfd1370098f1af95e100c964da30.tar.gz
Use defcustom.
Diffstat (limited to 'lisp/window.el')
-rw-r--r--lisp/window.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/window.el b/lisp/window.el
index 0b55ccbe9a3..5be9f870b9d 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -142,11 +142,13 @@ even if it is inactive."
'nomini)))
;;; I think this should be the default; I think people will prefer it--rms.
-(defvar split-window-keep-point t
+(defcustom split-window-keep-point t
"*If non-nil, split windows keeps the original point in both children.
This is often more convenient for editing.
If nil, adjust point in each of the two windows to minimize redisplay.
-This is convenient on slow terminals, but point can move strangely.")
+This is convenient on slow terminals, but point can move strangely."
+ :type 'boolean
+ :group 'windows)
(defun split-window-vertically (&optional arg)
"Split current window into two windows, one above the other.