From f3c5a1b3685debefb9c019f96992b887f6ca69f2 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 18 Oct 2021 11:35:51 +0200 Subject: [PATCH] Add some defvar indent tests --- .../elisp-mode-resources/elisp-indents.erts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/test/lisp/progmodes/elisp-mode-resources/elisp-indents.erts b/test/lisp/progmodes/elisp-mode-resources/elisp-indents.erts index ba2f81a3a9d..2c0d51edae8 100644 --- a/test/lisp/progmodes/elisp-mode-resources/elisp-indents.erts +++ b/test/lisp/progmodes/elisp-mode-resources/elisp-indents.erts @@ -71,3 +71,18 @@ Name: def-indent2 (define-keymap 1 2 3) =-=-= + +Name: elisp-indents1 + +=-= +(defvar foo + () + "bar") +=-=-= + +Name: elisp-indents2 + +=-= +(defvar foo () + "bar") +=-=-= -- 2.39.2