branch: externals/matlab-mode
commit d6db2b2723253ee7ee40912e16800815800ba824
Author: John Ciolfi <[email protected]>
Commit: John Ciolfi <[email protected]>
t-utils.el: improve comments about indent via line-by-line typing
---
tests/t-utils.el | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/tests/t-utils.el b/tests/t-utils.el
index 8aec19dd0d..72b59ee42f 100644
--- a/tests/t-utils.el
+++ b/tests/t-utils.el
@@ -1277,8 +1277,13 @@ To debug a specific indent test file
(when unindented-error-msg
(push unindented-error-msg error-msgs)))
- ;; Indent line-by-line if lang-file does not contain:
- ;; t-utils-test-indent: no-line-by-line-indent - <reason>
+ ;; Indent line-by-line if
+ ;; 1) lang-file does not contain:
+ ;; t-utils-test-indent: no-line-by-line-indent - <reason>
+ ;; No message produced about skipping it.
+ ;; and
+ ;; 2) LANG-FILE-NO-EXT.skip.typing.txt does not exist
+ ;; where LANG-FILE-NO-EXT is the lang-file without the extension.
(when do-line-by-line-indent
(let ((skip-typing-file (replace-regexp-in-string "\\.[^.]\\'"
".skip.typing.txt"
lang-file)))