From a5fde629ffff283132122f57996e1296816c3640 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Thu, 27 Nov 2014 20:28:34 +0100 Subject: [PATCH] * net/eww.el (eww-restore-history): Bind `inhibit-modification-hooks' instead of `after-change-functions'. --- lisp/ChangeLog | 5 +++++ lisp/net/eww.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3f636698f43..7ff0dc8eea5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-11-27 Lars Magne Ingebrigtsen + + * net/eww.el (eww-restore-history): Bind + `inhibit-modification-hooks' instead of `after-change-functions'. + 2014-11-27 Ulf Jasper * net/newst-backend.el (newsticker--parse-atom-1.0): Handle diff --git a/lisp/net/eww.el b/lisp/net/eww.el index f65403b3622..e74935b22f9 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -374,7 +374,7 @@ See the `eww-search-prefix' variable for the search engine used." (plist-put eww-data :source source) (plist-put eww-data :dom document) (let ((inhibit-read-only t) - (after-change-functions nil) + (inhibit-modification-hooks nil) (shr-target-id (url-target (url-generic-parse-url url))) (shr-external-rendering-functions '((title . eww-tag-title) @@ -712,7 +712,7 @@ the like." (defun eww-restore-history (elem) (let ((inhibit-read-only t) - (after-change-functions nil) + (inhibit-modification-hooks nil) (text (plist-get elem :text))) (setq eww-data elem) (if (null text) -- 2.39.5