diff options
author | Kim F. Storm <storm@cua.dk> | 2006-04-26 08:56:32 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2006-04-26 08:56:32 +0000 |
commit | 79a09c9c4819787cadf96a5b8d979d0c9742a35f (patch) | |
tree | 0379eb72a41da0105548b06f83b558171fb682bd /lisp/subr.el | |
parent | 5a56121fef704458d7fd24c36a4b3f96eac8d10c (diff) | |
download | emacs-79a09c9c4819787cadf96a5b8d979d0c9742a35f.tar.gz |
(posn-string, posn-image, posn-object): Doc fix.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r-- | lisp/subr.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index 4a9172e007a..dc1a3d92c8e 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -851,19 +851,23 @@ and `event-end' functions." (nth 3 position)) (defsubst posn-string (position) - "Return the string object of POSITION, or nil if a buffer position. + "Return the string object of POSITION. +Value is a cons (STRING . STRING-POS), or nil if not a string. POSITION should be a list of the form returned by the `event-start' and `event-end' functions." (nth 4 position)) (defsubst posn-image (position) - "Return the image object of POSITION, or nil if a not an image. + "Return the image object of POSITION. +Value is an list (image ...), or nil if not an image. POSITION should be a list of the form returned by the `event-start' and `event-end' functions." (nth 7 position)) (defsubst posn-object (position) "Return the object (image or string) of POSITION. +Value is a list (image ...) for an image object, a cons cell +\(STRING . STRING-POS) for a string object, and nil for a buffer position. POSITION should be a list of the form returned by the `event-start' and `event-end' functions." (or (posn-image position) (posn-string position))) |