diff options
| author | Chong Yidong | 2012-07-17 15:43:01 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-07-17 15:43:01 +0800 |
| commit | 9ea10cc3431ce03da0a375cd573ceedd5cdbdf67 (patch) | |
| tree | 4b1464950405382a3cf7be66d7fe9189b0915b4f /doc/lispref/text.texi | |
| parent | 441efe9fdd79cfbfc2122054e1be52f0006b9f53 (diff) | |
| download | emacs-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/text.texi')
| -rw-r--r-- | doc/lispref/text.texi | 16 |
1 files changed, 10 insertions, 6 deletions
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 | |||
| 401 | overlay. | 401 | overlay. |
| 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 |
| 405 | This function inserts @var{count} instances of @var{character} into the | 405 | This command inserts @var{count} instances of @var{character} into the |
| 406 | current buffer before point. The argument @var{count} should be an | 406 | current buffer before point. The argument @var{count} must be an |
| 407 | integer, and @var{character} must be a character. The value is @code{nil}. | 407 | integer, and @var{character} must be a character. |
| 408 | |||
| 409 | If called interactively, this command prompts for @var{character} | ||
| 410 | using its Unicode name or its code point. @xref{Inserting Text,,, | ||
| 411 | emacs, The GNU Emacs Manual}. | ||
| 408 | 412 | ||
| 409 | This function does not convert unibyte character codes 128 through 255 | 413 | This function does not convert unibyte character codes 128 through 255 |
| 410 | to multibyte characters, not even if the current buffer is a multibyte | 414 | to multibyte characters, not even if the current buffer is a multibyte |
| 411 | buffer. @xref{Converting Representations}. | 415 | buffer. @xref{Converting Representations}. |
| 412 | 416 | ||
| 413 | If @var{inherit} is non-@code{nil}, then the inserted characters inherit | 417 | If @var{inherit} is non-@code{nil}, the inserted characters inherit |
| 414 | sticky text properties from the two characters before and after the | 418 | sticky text properties from the two characters before and after the |
| 415 | insertion point. @xref{Sticky Properties}. | 419 | insertion 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 |
| 419 | This function inserts a portion of buffer @var{from-buffer-or-name} | 423 | This function inserts a portion of buffer @var{from-buffer-or-name} |