From: Lars Magne Ingebrigtsen Date: Thu, 27 Nov 2014 16:23:32 +0000 (+0100) Subject: (eww-restore-history): Inhibit change functions while restoring the history. X-Git-Tag: emacs-25.0.90~2635^2~295 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5519c34ef8b5f06fa20e8de7dc54b5bd6fc88421;p=emacs.git (eww-restore-history): Inhibit change functions while restoring the history. --- 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)