[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 5519c34: (eww-restore-history): Inhibit change func
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 5519c34: (eww-restore-history): Inhibit change functions while restoring the history. |
Date: |
Thu, 27 Nov 2014 16:24:08 +0000 |
branch: master
commit 5519c34ef8b5f06fa20e8de7dc54b5bd6fc88421
Author: Lars Magne Ingebrigtsen <address@hidden>
Date: Thu Nov 27 17:23:32 2014 +0100
(eww-restore-history): Inhibit change functions while restoring the history.
---
lisp/ChangeLog | 2 ++
lisp/net/eww.el | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 50c8e40..26c68df 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 23f3653..75af7fb 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 5519c34: (eww-restore-history): Inhibit change functions while restoring the history.,
Lars Ingebrigtsen <=