aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-08-27 23:03:05 +0000
committerRichard M. Stallman1994-08-27 23:03:05 +0000
commit33acbad21f51f22f583516db9b97010bd2df0564 (patch)
treeaaab1b14ce3dfa816a2577fe54db3f8152134dc6
parent1644b1a55f1395dbce1d5f9d3bfdf3e018c624e7 (diff)
downloademacs-33acbad21f51f22f583516db9b97010bd2df0564.tar.gz
emacs-33acbad21f51f22f583516db9b97010bd2df0564.zip
entered into RCS
-rw-r--r--lispref/text.texi12
1 files changed, 11 insertions, 1 deletions
diff --git a/lispref/text.texi b/lispref/text.texi
index 637ebd610eb..1225ca470b1 100644
--- a/lispref/text.texi
+++ b/lispref/text.texi
@@ -275,11 +275,15 @@ relocates markers initially pointing at the insertion point, to point
275after the inserted text. 275after the inserted text.
276@end defun 276@end defun
277 277
278@defun insert-char character count 278@defun insert-char character count &optional inherit
279This function inserts @var{count} instances of @var{character} into the 279This function inserts @var{count} instances of @var{character} into the
280current buffer before point. The argument @var{count} must be a number, 280current buffer before point. The argument @var{count} must be a number,
281and @var{character} must be a character. The value is @code{nil}. 281and @var{character} must be a character. The value is @code{nil}.
282@c It's unfortunate that count comes second. Not like make-string, etc. 282@c It's unfortunate that count comes second. Not like make-string, etc.
283
284If @var{inherit} is non-@code{nil}, then the inserted characters inherit
285sticky text properties from the two characters before and after the
286insertion point. @xref{Sticky Properties}.
283@end defun 287@end defun
284 288
285@defun insert-buffer-substring from-buffer-or-name &optional start end 289@defun insert-buffer-substring from-buffer-or-name &optional start end
@@ -312,6 +316,8 @@ We hold these truth@point{}
312 316
313 @xref{Sticky Properties}, for other insertion functions that inherit 317 @xref{Sticky Properties}, for other insertion functions that inherit
314text properties from the nearby text in addition to inserting it. 318text properties from the nearby text in addition to inserting it.
319Whitespace inserted by indentation functions also inherits text
320properties.
315 321
316@node Commands for Insertion 322@node Commands for Insertion
317@section User-Level Insertion Commands 323@section User-Level Insertion Commands
@@ -1507,6 +1513,10 @@ least that many spaces are inserted even if this requires going beyond
1507@var{column}. Otherwise the function does nothing if point is already 1513@var{column}. Otherwise the function does nothing if point is already
1508beyond @var{column}. The value is the column at which the inserted 1514beyond @var{column}. The value is the column at which the inserted
1509indentation ends. 1515indentation ends.
1516
1517The inserted whitespace characters inherit text properties from the
1518surrounding text (usually, from the preceding text only). @xref{Sticky
1519Properties}.
1510@end deffn 1520@end deffn
1511 1521
1512@defopt indent-tabs-mode 1522@defopt indent-tabs-mode