summaryrefslogtreecommitdiff
path: root/lisp/wid-browse.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/wid-browse.el')
-rw-r--r--lisp/wid-browse.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/wid-browse.el b/lisp/wid-browse.el
index dbc41009c77..3124a9c01e5 100644
--- a/lisp/wid-browse.el
+++ b/lisp/wid-browse.el
@@ -89,7 +89,11 @@ if that value is non-nil."
(defun widget-browse-at (pos)
"Browse the widget under point."
(interactive "d")
- (let* ((field (get-char-property pos 'field))
+ (let* ((field (or
+ ;; See comments in `widget-specify-field' to know why we
+ ;; need this.
+ (get-char-property pos 'real-field)
+ (get-char-property pos 'field)))
(button (get-char-property pos 'button))
(doc (get-char-property pos 'widget-doc))
(text (cond (field "This is an editable text area.")