Commit 24e0546b authored by Mauro Aranda's avatar Mauro Aranda Committed by Lars Ingebrigtsen
Browse files

Make widget-browse-at always detect an editable-field

* lisp/wid-browse.el (widget-browse-at): Also look for the real-field
property when detecting a field (bug#37199).
parent 12b1cce9
Pipeline #3139 passed with stage
in 83 minutes and 15 seconds
......@@ -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.")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment