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

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

bug#48102: [PATCH] * yasnippet-tests.el: Fix failing tests by adding lis


From: Morgan . J . Smith
Subject: bug#48102: [PATCH] * yasnippet-tests.el: Fix failing tests by adding lisp-data-mode
Date: Thu, 29 Apr 2021 10:12:55 -0400

From: Morgan Smith <Morgan.J.Smith@outlook.com>

---

I have done my copyright paperwork (not that it's needed for something this 
small).

lisp-data-mode was added to master on April 18th in commit 
43fded12d544ab68f493142debc5b3e437317f35

---
 yasnippet-tests.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/yasnippet-tests.el b/yasnippet-tests.el
index b8a7980..fdc5395 100644
--- a/yasnippet-tests.el
+++ b/yasnippet-tests.el
@@ -1389,6 +1389,9 @@ (ert-deftest loading-with-cyclic-parenthood ()
                           ;; prog-mode doesn't exist in emacs 23.4
                           ,@(if (fboundp 'prog-mode)
                                 '(prog-mode))
+                          ;; lisp-data-mode doesn't exist in emacs 27.1
+                          ,@(if (fboundp 'lisp-data-mode)
+                                '(lisp-data-mode))
                           emacs-lisp-mode
                           lisp-interaction-mode))
               (observed (yas--modes-to-activate)))
@@ -1416,6 +1419,9 @@ (ert-deftest extra-modes-parenthood ()
                                ;; prog-mode doesn't exist in emacs 23.4
                                ,@(if (fboundp 'prog-mode)
                                      '(prog-mode))
+                               ;; lisp-data-mode doesn't exist in emacs 27.1
+                               ,@(if (fboundp 'lisp-data-mode)
+                                     '(lisp-data-mode))
                                emacs-lisp-mode
                                and-also-this-one
                                lisp-interaction-mode))
-- 
2.31.1






reply via email to

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