branch: elpa/lua-mode
commit 50d94a480d32d4b174066cd03dcff8e97a5856b7
Author: immerrr <[email protected]>
Commit: immerrr <[email protected]>
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)