aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorChong Yidong2012-07-17 15:43:01 +0800
committerChong Yidong2012-07-17 15:43:01 +0800
commit9ea10cc3431ce03da0a375cd573ceedd5cdbdf67 (patch)
tree4b1464950405382a3cf7be66d7fe9189b0915b4f /doc/lispref
parent441efe9fdd79cfbfc2122054e1be52f0006b9f53 (diff)
downloademacs-9ea10cc3431ce03da0a375cd573ceedd5cdbdf67.tar.gz
emacs-9ea10cc3431ce03da0a375cd573ceedd5cdbdf67.zip
Document insert-char changes.
* doc/emacs/basic.texi (Inserting Text): Replace ucs-insert with insert-char. Provide more details of input. * doc/lispref/mule.texi (International Chars, Input Methods): Likewise. * doc/lispref/text.texi (Insertion): Document insert-char changes. * src/editfns.c (Finsert_char): Doc fix.
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/text.texi16
2 files changed, 14 insertions, 6 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 5378cc16cdb..bc01d64c509 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,7 @@
12012-07-17 Chong Yidong <cyd@gnu.org>
2
3 * text.texi (Insertion): Document insert-char changes.
4
12012-07-15 Leo Liu <sdl.web@gmail.com> 52012-07-15 Leo Liu <sdl.web@gmail.com>
2 6
3 * display.texi (Fringe Bitmaps): Add exclamation-mark. 7 * display.texi (Fringe Bitmaps): Add exclamation-mark.
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index c1e12ccf3a3..d115322f84f 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -401,19 +401,23 @@ ends at the insertion point, the inserted text falls inside that
401overlay. 401overlay.
402@end defun 402@end defun
403 403
404@defun insert-char character count &optional inherit 404@deffn Command insert-char character &optional count inherit
405This function inserts @var{count} instances of @var{character} into the 405This command inserts @var{count} instances of @var{character} into the
406current buffer before point. The argument @var{count} should be an 406current buffer before point. The argument @var{count} must be an
407integer, and @var{character} must be a character. The value is @code{nil}. 407integer, and @var{character} must be a character.
408
409If called interactively, this command prompts for @var{character}
410using its Unicode name or its code point. @xref{Inserting Text,,,
411emacs, The GNU Emacs Manual}.
408 412
409This function does not convert unibyte character codes 128 through 255 413This function does not convert unibyte character codes 128 through 255
410to multibyte characters, not even if the current buffer is a multibyte 414to multibyte characters, not even if the current buffer is a multibyte
411buffer. @xref{Converting Representations}. 415buffer. @xref{Converting Representations}.
412 416
413If @var{inherit} is non-@code{nil}, then the inserted characters inherit 417If @var{inherit} is non-@code{nil}, the inserted characters inherit
414sticky text properties from the two characters before and after the 418sticky text properties from the two characters before and after the
415insertion point. @xref{Sticky Properties}. 419insertion point. @xref{Sticky Properties}.
416@end defun 420@end deffn
417 421
418@defun insert-buffer-substring from-buffer-or-name &optional start end 422@defun insert-buffer-substring from-buffer-or-name &optional start end
419This function inserts a portion of buffer @var{from-buffer-or-name} 423This function inserts a portion of buffer @var{from-buffer-or-name}