[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 1728544 4/6: Fix: inhibit point motion hooks when e
From: |
Ivan Shmakov |
Subject: |
[Emacs-diffs] master 1728544 4/6: Fix: inhibit point motion hooks when encoding an enriched document. |
Date: |
Sat, 17 Jan 2015 20:04:26 +0000 |
branch: master
commit 172854461531ac7ad11b4490adc148e7a42a9fb3
Author: Ivan Shmakov <address@hidden>
Commit: Ivan Shmakov <address@hidden>
Fix: inhibit point motion hooks when encoding an enriched document.
* lisp/textmodes/enriched.el (enriched-encode): Use
inhibit-point-motion-hooks in addition to inhibit-read-only.
Fixes: debbugs:18246
---
lisp/ChangeLog | 4 ++++
lisp/textmodes/enriched.el | 3 ++-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 55c7a36..d894b1f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -10,6 +10,10 @@
in place of the file name while working on non-file buffers, just
like hack-dir-local-variables already does. (Bug#19140)
+ * textmodes/enriched.el (enriched-encode): Use
+ inhibit-point-motion-hooks in addition to inhibit-read-only.
+ (Bug#18246)
+
2015-01-17 Stefan Monnier <address@hidden>
* emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
diff --git a/lisp/textmodes/enriched.el b/lisp/textmodes/enriched.el
index b9d45b3..040a50e 100644
--- a/lisp/textmodes/enriched.el
+++ b/lisp/textmodes/enriched.el
@@ -314,7 +314,8 @@ the region, and the START and END of each region."
;;;###autoload
(defun enriched-encode (from to orig-buf)
(if enriched-verbose (message "Enriched: encoding document..."))
- (let ((inhibit-read-only t))
+ (let ((inhibit-read-only t)
+ (inhibit-point-motion-hooks t))
(save-restriction
(narrow-to-region from to)
(delete-to-left-margin)
- [Emacs-diffs] master updated (ca80ebc -> 0aaa5d6), Ivan Shmakov, 2015/01/17
- [Emacs-diffs] master e000ff3 3/6: Fix dir-locals handling for non-file buffers., Ivan Shmakov, 2015/01/17
- [Emacs-diffs] master 3e824b0 2/6: Avoid mapcar in two cases in files.el., Ivan Shmakov, 2015/01/17
- [Emacs-diffs] master 22441b6 1/6: Ignore print-length and print-level while formatting url-cookie data., Ivan Shmakov, 2015/01/17
- [Emacs-diffs] master e391d88 5/6: Do not clear the session when trying to read a non-existent desktop file., Ivan Shmakov, 2015/01/17
- [Emacs-diffs] master 1728544 4/6: Fix: inhibit point motion hooks when encoding an enriched document.,
Ivan Shmakov <=
- [Emacs-diffs] master 0aaa5d6 6/6: Unloading support for misearch., Ivan Shmakov, 2015/01/17