[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pabbrev 6532a9a 2/6: Require with-silent-modifications.
From: |
Phillip Lord |
Subject: |
[elpa] externals/pabbrev 6532a9a 2/6: Require with-silent-modifications. |
Date: |
Wed, 18 Feb 2015 22:43:48 +0000 |
branch: externals/pabbrev
commit 6532a9a9cc2e972a9102142e1cac603747f24756
Author: Phillip Lord <address@hidden>
Commit: Phillip Lord <address@hidden>
Require with-silent-modifications.
The with-silent-modifications is better than my macro, and the fallback
was broken anyway. So I might as well remove it anyway.
---
pabbrev.el | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/pabbrev.el b/pabbrev.el
index d9dcb5f..d47bbb0 100644
--- a/pabbrev.el
+++ b/pabbrev.el
@@ -474,16 +474,8 @@ I'm not telling you which version, I prefer."
(defmacro pabbrev-save-buffer-modified-p (&rest body)
"Eval BODY without affected buffer modification status."
- (if (fboundp 'with-silent-modifications)
- `(with-silent-modifications ,@body)
- `(unwind-protect
- ;; inhibit modification hooks to avoid nasty interaction
- ;; with linked-buffer.el
- (let ((inhibit-modification-hooks t)
- (buffer-modified (buffer-modified-p))
- (buffer-undo-list t))
- ,@body)
- (set-buffer-modified-p buffer-modified))))
+ `(with-silent-modifications
+ ,@body))
(defun pabbrev-get-usage-hash()
"Return the usage hash for this buffer."
- [elpa] externals/pabbrev updated (2463c39 -> 112251c), Phillip Lord, 2015/02/18
- [elpa] externals/pabbrev bb8127a 1/6: Added default value for pabbrev-debug-enabled., Phillip Lord, 2015/02/18
- [elpa] externals/pabbrev 335af33 4/6: Should we keep working.el support?, Phillip Lord, 2015/02/18
- [elpa] externals/pabbrev ee7e15f 5/6: No longer error on read-only., Phillip Lord, 2015/02/18
- [elpa] externals/pabbrev 112251c 6/6: Move to cl-lib., Phillip Lord, 2015/02/18
- [elpa] externals/pabbrev 5f950c3 3/6: Change default excluded-modes., Phillip Lord, 2015/02/18
- [elpa] externals/pabbrev 6532a9a 2/6: Require with-silent-modifications.,
Phillip Lord <=