Mercurial > hg > xemacs-beta
comparison src/extents.c @ 2758:bf875d8664db
[xemacs-hg @ 2005-05-05 17:30:08 by aidan]
Add some info on atomic extents to the set-extent-property docstring.
author | aidan |
---|---|
date | Thu, 05 May 2005 17:30:12 +0000 |
parents | 6fa9919a9a0b |
children | 61af3ea9da02 |
comparison
equal
deleted
inserted
replaced
2757:7844ab77b582 | 2758:bf875d8664db |
---|---|
5454 | 5454 |
5455 DEFUN ("set-extent-property", Fset_extent_property, 3, 3, 0, /* | 5455 DEFUN ("set-extent-property", Fset_extent_property, 3, 3, 0, /* |
5456 Change a property of an extent. | 5456 Change a property of an extent. |
5457 PROPERTY may be any symbol; the value stored may be accessed with | 5457 PROPERTY may be any symbol; the value stored may be accessed with |
5458 the `extent-property' function. | 5458 the `extent-property' function. |
5459 | |
5459 The following symbols have predefined meanings: | 5460 The following symbols have predefined meanings: |
5460 | 5461 |
5461 detached Removes the extent from its buffer; setting this is | 5462 detached Removes the extent from its buffer; setting this is |
5462 the same as calling `detach-extent'. | 5463 the same as calling `detach-extent'. |
5463 | 5464 |
5598 be an integer (interpreted as a syntax code, applicable to | 5599 be an integer (interpreted as a syntax code, applicable to |
5599 all characters in the extent). Otherwise, syntax of | 5600 all characters in the extent). Otherwise, syntax of |
5600 characters in the extent is looked up in the syntax table. | 5601 characters in the extent is looked up in the syntax table. |
5601 You should use the text property API to manipulate this | 5602 You should use the text property API to manipulate this |
5602 property. (This may be required in the future.) | 5603 property. (This may be required in the future.) |
5604 | |
5605 The following property is available if `atomic-extents.el' has been loaded: | |
5606 | |
5607 atomic When set, point will never fall inside the extent. | |
5608 Not as useful as you might think, as | |
5609 `delete-backward-char' still removes characters one by | |
5610 one. | |
5611 | |
5603 */ | 5612 */ |
5604 (extent, property, value)) | 5613 (extent, property, value)) |
5605 { | 5614 { |
5606 /* This function can GC if property is `keymap' */ | 5615 /* This function can GC if property is `keymap' */ |
5607 EXTENT e = decode_extent (extent, 0); | 5616 EXTENT e = decode_extent (extent, 0); |