* net/eww.el (eww-restore-history): Bind `inhibit-modification-hooks'

instead of `after-change-functions'.
This commit is contained in:
Lars Magne Ingebrigtsen 2014-11-27 20:28:34 +01:00
parent 370258f761
commit a5fde629ff
2 changed files with 7 additions and 2 deletions

View 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

View 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)