projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66b315c
)
Allow eww text fields to grow
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 4 Feb 2016 04:28:57 +0000
(15:28 +1100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 4 Feb 2016 04:28:57 +0000
(15:28 +1100)
* lisp/net/eww.el (eww-process-text-input): Allow text fields to
grow when typing in stuff that's longer than the original width.
lisp/net/eww.el
patch
|
blob
|
history
diff --git
a/lisp/net/eww.el
b/lisp/net/eww.el
index af6e0afdfa7c17aacda08ed88a7eab4bb6c1c43f..f8d7c75aa2bbe17d5a83845a125ed7b48cc7c4a0 100644
(file)
--- a/
lisp/net/eww.el
+++ b/
lisp/net/eww.el
@@
-1046,7
+1046,7
@@
See URL `https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input'.")
(1- (line-end-position))
(eww-end-of-field)))
(while (and (> length 0)
- (eql (
following-char
) ? ))
+ (eql (
char-after (1- (point))
) ? ))
(delete-region (1- (point)) (point))
(cl-decf length))))
((< length 0)