emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 6997922 016/177: Revert "inhibit change hooks during (inse


From: João Távora
Subject: [elpa] master 6997922 016/177: Revert "inhibit change hooks during (insert content)"
Date: Sat, 28 Mar 2015 15:40:30 +0000

branch: master
commit 69979220116a0adbb24f575e5f3bd57b6523ab66
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    Revert "inhibit change hooks during (insert content)"
    
    This reverts commit 90d4cae1b1bbfacc612e73444f1e5a723ae4036e.
---
 yasnippet.el |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/yasnippet.el b/yasnippet.el
index 8149acc..af45262 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -3523,11 +3523,9 @@ considered when expanding the snippet."
                  (setq snippet
                        (if expand-env
                            (eval `(let* ,expand-env
-                                    (let ((inhibit-modification-hooks t))
-                                      (insert content))
+                                    (insert content)
                                     (yas--snippet-create (point-min))))
-                         (let ((inhibit-modification-hooks t))
-                           (insert content))
+                         (insert content)
                          (yas--snippet-create (point-min)))))))
 
            ;; stacked-expansion: This checks for stacked expansion, save the



reply via email to

[Prev in Thread] Current Thread [Next in Thread]