aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorNoam Postavsky2017-04-22 14:10:58 -0400
committerNoam Postavsky2017-04-22 14:18:46 -0400
commit6fa9cc0593150a318f0e08e69ec10672d548a7c1 (patch)
tree5f3ba3603a4bc724180d9b872b50c183c39a664b /test
parent66dc8dd6d13d37ef23b52873293d95d87dca497f (diff)
parent4713dd425beac5cb459704e67dcb8f6faf714375 (diff)
downloademacs-6fa9cc0593150a318f0e08e69ec10672d548a7c1.tar.gz
emacs-6fa9cc0593150a318f0e08e69ec10672d548a7c1.zip
; Merge: improve indent-sexp and lisp-indent-region performance
Diffstat (limited to 'test')
-rw-r--r--test/lisp/emacs-lisp/lisp-mode-tests.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/lisp/emacs-lisp/lisp-mode-tests.el b/test/lisp/emacs-lisp/lisp-mode-tests.el
index 8e3f2e185cf..27f0bb5ec13 100644
--- a/test/lisp/emacs-lisp/lisp-mode-tests.el
+++ b/test/lisp/emacs-lisp/lisp-mode-tests.el
@@ -31,6 +31,9 @@
31 1 31 1
32 2) 32 2)
33 2) 33 2)
34 (fun arg1
35
36 arg2)
34 (1 37 (1
35 \"string 38 \"string
36noindent\" (\"string2 39noindent\" (\"string2
@@ -58,7 +61,7 @@ noindent\" 3
58 (save-excursion 61 (save-excursion
59 (let ((n 0)) 62 (let ((n 0))
60 (while (not (eobp)) 63 (while (not (eobp))
61 (unless (looking-at "noindent") 64 (unless (looking-at "noindent\\|^[[:blank:]]*$")
62 (insert (make-string n ?\s))) 65 (insert (make-string n ?\s)))
63 (cl-incf n) 66 (cl-incf n)
64 (forward-line)))) 67 (forward-line))))