branch: elpa/lua-mode
commit ced52265bd1d445e9ec98e242e0a213dfb2dd995
Author: immerrr <[email protected]>
Commit: immerrr <[email protected]>

    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