aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/button.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/button.el')
-rw-r--r--lisp/button.el4
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'."
349;; Finding buttons in a buffer 349;; Finding buttons in a buffer
350 350
351(defun button-at (pos) 351(defun button-at (pos)
352 "Return the button at position POS in the current buffer, or nil." 352 "Return the button at position POS in the current buffer, or nil.
353If the button at POS is a text property button, the return value
354is a marker pointing to POS."
353 (let ((button (get-char-property pos 'button))) 355 (let ((button (get-char-property pos 'button)))
354 (if (or (overlayp button) (null button)) 356 (if (or (overlayp button) (null button))
355 button 357 button