From c6188ec2120e9e5b48bb2bbed93b461eb98e1dfb Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Thu, 9 Dec 2004 16:11:01 +0000 Subject: [PATCH] (Window Frame Parameters): New @defvar for `line-spacing'. --- lispref/frames.texi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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.) @end ignore @end table +@defvar line-spacing +When this permanently buffer-local variable is non-nil, if its value is +an integer, that many pixels of extra space are put below each line. If +the value is a floating point number, compute the spacing by multiplying +the value by the default frame line height. + +Note that this variable and the frame parameter @code{line-spacing} +(described above) control different things. The frame parameter is +involved in setting the frame line height (@pxref{Creating Frames}), +while the buffer-local variable is for already-created frames. + +For example, if the frame parameter is nil, a variable value of 1.0 +``double-spaces'' the display because for every line of text, there is +an additional full line of space put below it. Likewise, a value of 2.0 +``triple-spaces'' the display, and so forth. If, on the other hand, the +frame parameter is 10, a variable value of 10 would effectively put 20 +pixels of space under the text. +@end defvar + @defvar blink-cursor-alist This variable specifies how to blink the cursor. Each element has the form @code{(@var{on-state} . @var{off-state})}. Whenever the cursor -- 2.39.5