summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2014-11-27 17:23:32 +0100
committerLars Magne Ingebrigtsen <larsi@gnus.org>2014-11-27 17:23:32 +0100
commit5519c34ef8b5f06fa20e8de7dc54b5bd6fc88421 (patch)
tree18ff444fe893f3ef18089bc6d52381ae4a106828 /lisp
parenta5b07aa6b55b4158bf51457e4cb8649d48423a4d (diff)
downloademacs-5519c34ef8b5f06fa20e8de7dc54b5bd6fc88421.tar.gz
emacs-5519c34ef8b5f06fa20e8de7dc54b5bd6fc88421.tar.bz2
emacs-5519c34ef8b5f06fa20e8de7dc54b5bd6fc88421.zip
(eww-restore-history): Inhibit change functions while restoring the history.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/net/eww.el1
2 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 50c8e402f0c..26c68df7395 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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.
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 23f3653f362..75af7fbf64d 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -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)