# HG changeset patch # User Richard M. Stallman # Date 778028585 0 # Node ID ebda9d1e7d481a9798df4819789e40e9d6572aae # Parent e98aa03e22c509cfb8f4bfdc67532303fa77727d entered into RCS diff -r e98aa03e22c5 -r ebda9d1e7d48 lispref/text.texi --- a/lispref/text.texi Sat Aug 27 21:02:12 1994 +0000 +++ b/lispref/text.texi Sat Aug 27 23:03:05 1994 +0000 @@ -275,11 +275,15 @@ after the inserted text. @end defun -@defun insert-char character count +@defun insert-char character count &optional inherit This function inserts @var{count} instances of @var{character} into the current buffer before point. The argument @var{count} must be a number, and @var{character} must be a character. The value is @code{nil}. @c It's unfortunate that count comes second. Not like make-string, etc. + +If @var{inherit} is non-@code{nil}, then the inserted characters inherit +sticky text properties from the two characters before and after the +insertion point. @xref{Sticky Properties}. @end defun @defun insert-buffer-substring from-buffer-or-name &optional start end @@ -312,6 +316,8 @@ @xref{Sticky Properties}, for other insertion functions that inherit text properties from the nearby text in addition to inserting it. +Whitespace inserted by indentation functions also inherits text +properties. @node Commands for Insertion @section User-Level Insertion Commands @@ -1507,6 +1513,10 @@ @var{column}. Otherwise the function does nothing if point is already beyond @var{column}. The value is the column at which the inserted indentation ends. + +The inserted whitespace characters inherit text properties from the +surrounding text (usually, from the preceding text only). @xref{Sticky +Properties}. @end deffn @defopt indent-tabs-mode