diff options
| author | Richard M. Stallman | 1997-12-26 22:51:41 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-12-26 22:51:41 +0000 |
| commit | 96f905441658206abf312534cd6bdfeaf1dd869f (patch) | |
| tree | a11b584da7a16450cada33be6c96f6aedbe21eea /src | |
| parent | fad1559b9342138dffbbdd95b736b22d57828fb1 (diff) | |
| download | emacs-96f905441658206abf312534cd6bdfeaf1dd869f.tar.gz emacs-96f905441658206abf312534cd6bdfeaf1dd869f.zip | |
(Ftext_properties_at): Doc fix.
Diffstat (limited to 'src')
| -rw-r--r-- | src/textprop.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/textprop.c b/src/textprop.c index b62cf6169d7..091e513689d 100644 --- a/src/textprop.c +++ b/src/textprop.c | |||
| @@ -523,9 +523,9 @@ interval_of (position, object) | |||
| 523 | 523 | ||
| 524 | DEFUN ("text-properties-at", Ftext_properties_at, | 524 | DEFUN ("text-properties-at", Ftext_properties_at, |
| 525 | Stext_properties_at, 1, 2, 0, | 525 | Stext_properties_at, 1, 2, 0, |
| 526 | "Return the list of properties held by the character at POSITION\n\ | 526 | "Return the list of properties of the character at POSITION in OBJECT.\n\ |
| 527 | in optional argument OBJECT, a string or buffer. If nil, OBJECT\n\ | 527 | OBJECT is the string or buffer to look for the properties in;\n\ |
| 528 | defaults to the current buffer.\n\ | 528 | nil means the current buffer.\n\ |
| 529 | If POSITION is at the end of OBJECT, the value is nil.") | 529 | If POSITION is at the end of OBJECT, the value is nil.") |
| 530 | (position, object) | 530 | (position, object) |
| 531 | Lisp_Object position, object; | 531 | Lisp_Object position, object; |
| @@ -1553,12 +1553,13 @@ call_mod_hooks (list, start, end) | |||
| 1553 | UNGCPRO; | 1553 | UNGCPRO; |
| 1554 | } | 1554 | } |
| 1555 | 1555 | ||
| 1556 | /* Check for read-only intervals and signal an error if we find one. | 1556 | /* Check for read-only intervals between character positions START ... END, |
| 1557 | Then check for any modification hooks in the range START up to | 1557 | in BUF, and signal an error if we find one. |
| 1558 | (but not including) END. Create a list of all these hooks in | 1558 | |
| 1559 | lexicographic order, eliminating consecutive extra copies of the | 1559 | Then check for any modification hooks in the range. |
| 1560 | same hook. Then call those hooks in order, with START and END - 1 | 1560 | Create a list of all these hooks in lexicographic order, |
| 1561 | as arguments. */ | 1561 | eliminating consecutive extra copies of the same hook. Then call |
| 1562 | those hooks in order, with START and END - 1 as arguments. */ | ||
| 1562 | 1563 | ||
| 1563 | void | 1564 | void |
| 1564 | verify_interval_modification (buf, start, end) | 1565 | verify_interval_modification (buf, start, end) |
| @@ -1729,7 +1730,7 @@ verify_interval_modification (buf, start, end) | |||
| 1729 | } | 1730 | } |
| 1730 | } | 1731 | } |
| 1731 | 1732 | ||
| 1732 | /* Run the interval hooks for an insertion. | 1733 | /* Run the interval hooks for an insertion on character range START ... END. |
| 1733 | verify_interval_modification chose which hooks to run; | 1734 | verify_interval_modification chose which hooks to run; |
| 1734 | this function is called after the insertion happens | 1735 | this function is called after the insertion happens |
| 1735 | so it can indicate the range of inserted text. */ | 1736 | so it can indicate the range of inserted text. */ |