bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#50832: [PATCH] 28.0.50; Wrong mode in test-cl-flet-indentation


From: akater
Subject: bug#50832: [PATCH] 28.0.50; Wrong mode in test-cl-flet-indentation
Date: Sun, 26 Sep 2021 22:52:35 +0000

This indentation does not work in lisp-mode, and it shouldn't.

In fact, lisp-mode-tests.el is a very confusing file name, and some
tests in it use emacs-lisp-mode while some use lisp-mode.

>From e4821f07cce362d4be4f16ca9aec84822694464a Mon Sep 17 00:00:00 2001
From: akater <nuclearspace@gmail.com>
Date: Sun, 26 Sep 2021 22:29:56 +0000
Subject: [PATCH] ; Fix cl-flet indentation test

---
 test/lisp/emacs-lisp/lisp-mode-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/lisp/emacs-lisp/lisp-mode-tests.el 
b/test/lisp/emacs-lisp/lisp-mode-tests.el
index 5e533b370e..64e1581d1e 100644
--- a/test/lisp/emacs-lisp/lisp-mode-tests.el
+++ b/test/lisp/emacs-lisp/lisp-mode-tests.el
@@ -333,7 +333,7 @@ defconst lisp-mode-tests--correctly-indented-sexp "\
 (ert-deftest test-cl-flet-indentation ()
   (should (equal
            (with-temp-buffer
-             (lisp-mode)
+             (emacs-lisp-mode)
              (insert "(cl-flet ((bla (x)\n(* x x)))\n(bla 42))")
              (indent-region (point-min) (point-max))
              (buffer-string))
-- 
2.32.0


reply via email to

[Prev in Thread] Current Thread [Next in Thread]