diff options
Diffstat (limited to 'lisp/button.el')
-rw-r--r-- | lisp/button.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/button.el b/lisp/button.el index 07c98e668bd..3cf38fa64c6 100644 --- a/lisp/button.el +++ b/lisp/button.el @@ -349,7 +349,9 @@ Also see `make-text-button'." ;; Finding buttons in a buffer (defun button-at (pos) - "Return the button at position POS in the current buffer, or nil." + "Return the button at position POS in the current buffer, or nil. +If the button at POS is a text property button, the return value +is a marker pointing to POS." (let ((button (get-char-property pos 'button))) (if (or (overlayp button) (null button)) button |