summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/button.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/button.el b/lisp/button.el
index b04bc283e40..99c03d9d687 100644
--- a/lisp/button.el
+++ b/lisp/button.el
@@ -194,6 +194,8 @@ changes to a supertype are not reflected in its subtypes)."
((button--area-button-p button)
(get-text-property (cdr button)
prop (button--area-button-string button)))
+ ((markerp button)
+ (get-text-property button prop (marker-buffer button)))
(t ; Must be a text-property button.
(get-text-property button prop))))