(eww-restore-history): Inhibit change functions while restoring the history.

parent a5b07aa6
......@@ -4,6 +4,8 @@
HTTP fetch fails, we have the right URL in the buffer.
(eww-process-text-input): Don't shorten the input field if
deleting at the last character (bug#19085).
(eww-restore-history): Inhibit change functions while restoring
the history.
* dom.el (dom-pp): New function.
......
......@@ -711,6 +711,7 @@ the like."
(defun eww-restore-history (elem)
(let ((inhibit-read-only t)
(after-change-functions nil)
(text (plist-get elem :text)))
(setq eww-data elem)
(if (null text)
......
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