diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2016-02-04 15:42:08 +1100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2016-02-04 15:42:08 +1100 |
commit | 7f818250739d9b7404dbe79326e1bf89fce0fd13 (patch) | |
tree | 77bed00636120309a9d6ab7ebce44351906dc2ca | |
parent | a43a1dcc3d4a2e1eeecac43017a21779fb1557b3 (diff) | |
download | emacs-7f81825.tar.gz |
Make it possible to TAB to input fields
* lisp/net/eww.el (eww-tag-input): Make it possible to TAB to
input fields (bug#22540).
-rw-r--r-- | lisp/net/eww.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/net/eww.el b/lisp/net/eww.el index f8d7c75aa2b..7cb324e2399 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -1136,7 +1136,9 @@ See URL `https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input'.") (t (eww-form-text dom))) (unless (= start (point)) - (put-text-property start (1+ start) 'help-echo "Input field")))) + (put-text-property start (1+ start) 'help-echo "Input field") + ;; Mark this as an element we can TAB to. + (put-text-property start (1+ start) 'shr-url dom)))) (defun eww-tag-select (dom) (shr-ensure-paragraph) |