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

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

[nongnu] elpa/lua-mode 50d94a4 373/468: tests: silence "Indenting region


From: Philip Kaludercic
Subject: [nongnu] elpa/lua-mode 50d94a4 373/468: tests: silence "Indenting region..." messages
Date: Thu, 5 Aug 2021 04:59:12 -0400 (EDT)

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

    tests: silence "Indenting region..." messages
---
 test/utils.el | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/test/utils.el b/test/utils.el
index 63d77be..3b95c63 100644
--- a/test/utils.el
+++ b/test/utils.el
@@ -139,11 +139,12 @@ This is a mere typing/reading aid for lua-mode's 
font-lock tests."
   (butlast
    (split-string
     (with-lua-buffer
-     (insert (replace-regexp-in-string "^\\s *" "" (lua-join-lines strs)))
-     (font-lock-fontify-buffer)
-     (indent-region (point-min) (point-max))
-     (buffer-substring-no-properties
-      (point-min) (point-max)))
+     (let ((inhibit-message t))
+       (insert (replace-regexp-in-string "^\\s *" "" (lua-join-lines strs)))
+       (font-lock-fontify-buffer)
+       (indent-region (point-min) (point-max))
+       (buffer-substring-no-properties
+        (point-min) (point-max))))
     "\n" nil)))
 
 (defun lua-insert-goto-<> (strs)



reply via email to

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