aboutsummaryrefslogtreecommitdiffstats
path: root/lispref/frames.texi
diff options
context:
space:
mode:
authorThien-Thi Nguyen2004-12-09 16:11:01 +0000
committerThien-Thi Nguyen2004-12-09 16:11:01 +0000
commitc6188ec2120e9e5b48bb2bbed93b461eb98e1dfb (patch)
tree87a34da631a08dbc62f17893df70d951fe5028d0 /lispref/frames.texi
parent0473753a9495dced1a2911ac75f623234e84f919 (diff)
downloademacs-c6188ec2120e9e5b48bb2bbed93b461eb98e1dfb.tar.gz
emacs-c6188ec2120e9e5b48bb2bbed93b461eb98e1dfb.zip
(Window Frame Parameters): New @defvar for `line-spacing'.
Diffstat (limited to 'lispref/frames.texi')
-rw-r--r--lispref/frames.texi19
1 files changed, 19 insertions, 0 deletions
diff --git a/lispref/frames.texi b/lispref/frames.texi
index 655232a8869..e3e92c621e9 100644
--- a/lispref/frames.texi
+++ b/lispref/frames.texi
@@ -605,6 +605,25 @@ it and see if it works.)
605@end ignore 605@end ignore
606@end table 606@end table
607 607
608@defvar line-spacing
609When this permanently buffer-local variable is non-nil, if its value is
610an integer, that many pixels of extra space are put below each line. If
611the value is a floating point number, compute the spacing by multiplying
612the value by the default frame line height.
613
614Note that this variable and the frame parameter @code{line-spacing}
615(described above) control different things. The frame parameter is
616involved in setting the frame line height (@pxref{Creating Frames}),
617while the buffer-local variable is for already-created frames.
618
619For example, if the frame parameter is nil, a variable value of 1.0
620``double-spaces'' the display because for every line of text, there is
621an additional full line of space put below it. Likewise, a value of 2.0
622``triple-spaces'' the display, and so forth. If, on the other hand, the
623frame parameter is 10, a variable value of 10 would effectively put 20
624pixels of space under the text.
625@end defvar
626
608@defvar blink-cursor-alist 627@defvar blink-cursor-alist
609This variable specifies how to blink the cursor. Each element has the 628This variable specifies how to blink the cursor. Each element has the
610form @code{(@var{on-state} . @var{off-state})}. Whenever the cursor 629form @code{(@var{on-state} . @var{off-state})}. Whenever the cursor