diff options
author | akater <nuclearspace@gmail.com> | 2021-10-01 13:25:42 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-10-01 13:25:42 +0200 |
commit | 5988d6fa2610097f91d822df813cecbdeed26185 (patch) | |
tree | 3505ae4149046bbadad21a78173d28b7ec881de5 /test/lisp/progmodes/elisp-mode-tests.el | |
parent | efd239c1475de43806a739702583316cfb297003 (diff) | |
download | emacs-5988d6fa2610097f91d822df813cecbdeed26185.tar.gz emacs-5988d6fa2610097f91d822df813cecbdeed26185.tar.bz2 emacs-5988d6fa2610097f91d822df813cecbdeed26185.zip |
Restore the flet indentation fixes
* lisp/emacs-lisp/lisp-mode.el (lisp--local-defform-body-p): New
function.
(lisp-indent-function): Use it to fix cl-flet indentation.
Diffstat (limited to 'test/lisp/progmodes/elisp-mode-tests.el')
-rw-r--r-- | test/lisp/progmodes/elisp-mode-tests.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/lisp/progmodes/elisp-mode-tests.el b/test/lisp/progmodes/elisp-mode-tests.el index 3c76f866502..8ce3c1e0935 100644 --- a/test/lisp/progmodes/elisp-mode-tests.el +++ b/test/lisp/progmodes/elisp-mode-tests.el @@ -1085,7 +1085,11 @@ evaluation of BODY." (should (unintern "f-test4---")))) (ert-deftest test-indentation () - (ert-test-erts-file (ert-resource-file "elisp-indents.erts"))) + (ert-test-erts-file (ert-resource-file "elisp-indents.erts")) + (ert-test-erts-file (ert-resource-file "flet.erts") + (lambda () + (emacs-lisp-mode) + (indent-region (point-min) (point-max))))) (provide 'elisp-mode-tests) ;;; elisp-mode-tests.el ends here |