[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 56ed4e1: Allow eww text fields to grow
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] emacs-25 56ed4e1: Allow eww text fields to grow |
Date: |
Thu, 04 Feb 2016 04:29:18 +0000 |
branch: emacs-25
commit 56ed4e188603180aa8c9f1272da0954a80875c5c
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Allow eww text fields to grow
* 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 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index af6e0af..f8d7c75 100644
--- 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 56ed4e1: Allow eww text fields to grow,
Lars Ingebrigtsen <=