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

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

[nongnu] elpa/lua-mode ced5226 161/468: lua-with-silent-modifications: f


From: Philip Kaludercic
Subject: [nongnu] elpa/lua-mode ced5226 161/468: lua-with-silent-modifications: fix old style backquotes in fallback implementation
Date: Thu, 5 Aug 2021 04:58:28 -0400 (EDT)

branch: elpa/lua-mode
commit ced52265bd1d445e9ec98e242e0a213dfb2dd995
Author: immerrr <immerrr+lua@gmail.com>
Commit: immerrr <immerrr+lua@gmail.com>

    lua-with-silent-modifications: fix old style backquotes in fallback 
implementation
---
 lua-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lua-mode.el b/lua-mode.el
index 5555cb2..1fc0f35 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -1420,12 +1420,12 @@ left out."
   (if (fboundp 'with-silent-modifications)
       (defalias 'lua-with-silent-modifications 'with-silent-modifications)
 
-    (defmacro lua-with-silent-modifications (body)
+    (defmacro lua-with-silent-modifications (&rest body)
       "Execute BODY, pretending it does not modifies the buffer.
 
 This is a reimplementation of macro `with-silent-modifications'
 for Emacsen that doesn't contain one (pre-23.3)."
-      (let ((old-modified-p (buffer-modified-p))
+      `(let ((old-modified-p (buffer-modified-p))
             (inhibit-modification-hooks t)
             (buffer-undo-list t))
 



reply via email to

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