aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm <[email protected]>2004-04-29 22:36:11 +0000
committerKim F. Storm <[email protected]>2004-04-29 22:36:11 +0000
commit60ebfdf3c36549af059140338e2bf00d94d2a9ea (patch)
tree4069e620e8517ac95240b458458855a78f1ce618 /src
parent9fd8cb3673c562ce002add1c8a1ed14a571a9b22 (diff)
(syms_of_buffer) <line-spacing>: Allow float value.
Diffstat (limited to 'src')
-rw-r--r--src/buffer.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/buffer.c b/src/buffer.c
index db16b22e35..4f6ac75543 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2143,7 +2143,7 @@ current buffer is cleared. */)
GPT = GPT_BYTE;
TEMP_SET_PT_BOTH (PT_BYTE, PT_BYTE);
-
+
for (tail = BUF_MARKERS (current_buffer); tail; tail = tail->next)
tail->charpos = tail->bytepos;
@@ -3339,7 +3339,7 @@ fix_start_end_in_overlays (start, end)
if (endpos < start)
break;
-
+
if (endpos < end
|| (startpos >= start && startpos < end))
{
@@ -3382,7 +3382,7 @@ fix_start_end_in_overlays (start, end)
{
startpos = endpos;
Fset_marker (OVERLAY_START (overlay), make_number (startpos),
- Qnil);
+ Qnil);
}
if (startpos >= end)
@@ -4193,7 +4193,7 @@ report_overlay_modification (start, end, after, arg1, arg2, arg3)
add_overlay_mod_hooklist (prop, overlay);
}
}
-
+
for (tail = current_buffer->overlays_after; tail; tail = tail->next)
{
int startpos, endpos;
@@ -5866,7 +5866,9 @@ this variable has no effect; the cursor appears as a hollow box. */);
DEFVAR_PER_BUFFER ("line-spacing",
&current_buffer->extra_line_spacing, Qnil,
doc: /* Additional space to put between lines when displaying a buffer.
-The space is measured in pixels, and put below lines on window systems. */);
+The space is measured in pixels, and put below lines on window systems.
+If value is a floating point number, it specifies the spacing relative
+to the default frame line height. */);
DEFVAR_LISP ("kill-buffer-query-functions", &Vkill_buffer_query_functions,
doc: /* List of functions called with no args to query before killing a buffer. */);