]> git.eshelyaron.com Git - emacs.git/commitdiff
* net/eww.el (eww-restore-history): Bind `inhibit-modification-hooks'
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Thu, 27 Nov 2014 19:28:34 +0000 (20:28 +0100)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Thu, 27 Nov 2014 19:28:34 +0000 (20:28 +0100)
instead of `after-change-functions'.

lisp/ChangeLog
lisp/net/eww.el

index 3f636698f43ac70504071717df3b11f238708c3d..7ff0dc8eea5b1f57ed89c4de7be3f12e595aebab 100644 (file)
@@ -1,3 +1,8 @@
+2014-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/eww.el (eww-restore-history): Bind
+       `inhibit-modification-hooks' instead of `after-change-functions'.
+
 2014-11-27  Ulf Jasper  <ulf.jasper@web.de>
 
        * net/newst-backend.el (newsticker--parse-atom-1.0): Handle
index f65403b3622d2a8e7445cab39c8e7b5a61b21b1c..e74935b22f998c355063241eaf27dc404477e5c5 100644 (file)
@@ -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)