From: Lars Ingebrigtsen Date: Mon, 18 Oct 2021 09:35:51 +0000 (+0200) Subject: Add some defvar indent tests X-Git-Tag: emacs-29.0.90~3671^2~506 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f3c5a1b3685debefb9c019f96992b887f6ca69f2;p=emacs.git Add some defvar indent tests --- 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") +=-=-=