comparison lispref/frames.texi @ 58868:2638af915c12

(Window Frame Parameters): New @defvar for `line-spacing'.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Thu, 09 Dec 2004 16:11:01 +0000
parents 8f67c69ee3ee
children 40d425d0c00b
comparison
equal deleted inserted replaced
58867:68b52f977b49 58868:2638af915c12
603 application's window. (It is not certain this will be implemented; try 603 application's window. (It is not certain this will be implemented; try
604 it and see if it works.) 604 it and see if it works.)
605 @end ignore 605 @end ignore
606 @end table 606 @end table
607 607
608 @defvar line-spacing
609 When this permanently buffer-local variable is non-nil, if its value is
610 an integer, that many pixels of extra space are put below each line. If
611 the value is a floating point number, compute the spacing by multiplying
612 the value by the default frame line height.
613
614 Note that this variable and the frame parameter @code{line-spacing}
615 (described above) control different things. The frame parameter is
616 involved in setting the frame line height (@pxref{Creating Frames}),
617 while the buffer-local variable is for already-created frames.
618
619 For 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
621 an 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
623 frame parameter is 10, a variable value of 10 would effectively put 20
624 pixels of space under the text.
625 @end defvar
626
608 @defvar blink-cursor-alist 627 @defvar blink-cursor-alist
609 This variable specifies how to blink the cursor. Each element has the 628 This variable specifies how to blink the cursor. Each element has the
610 form @code{(@var{on-state} . @var{off-state})}. Whenever the cursor 629 form @code{(@var{on-state} . @var{off-state})}. Whenever the cursor
611 type equals @var{on-state} (comparing using @code{equal}), Emacs uses 630 type equals @var{on-state} (comparing using @code{equal}), Emacs uses
612 @var{off-state} to specify what the cursor looks like when it blinks 631 @var{off-state} to specify what the cursor looks like when it blinks