]> git.eshelyaron.com Git - emacs.git/commitdiff
Add some defvar indent tests
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 18 Oct 2021 09:35:51 +0000 (11:35 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 18 Oct 2021 09:35:51 +0000 (11:35 +0200)
test/lisp/progmodes/elisp-mode-resources/elisp-indents.erts

index ba2f81a3a9d00eaae73524280738e373ebf91b73..2c0d51edae8e41a09543a06bae7b35718d313386 100644 (file)
@@ -71,3 +71,18 @@ Name: def-indent2
 (define-keymap 1
   2 3)
 =-=-=
+
+Name: elisp-indents1
+
+=-=
+(defvar foo
+  ()
+  "bar")
+=-=-=
+
+Name: elisp-indents2
+
+=-=
+(defvar foo ()
+  "bar")
+=-=-=