unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#48102: [PATCH] * yasnippet-tests.el: Fix failing tests by adding lisp-data-mode
@ 2021-04-29 14:12 Morgan.J.Smith
  2021-05-02  7:53 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Morgan.J.Smith @ 2021-04-29 14:12 UTC (permalink / raw)
  To: 48102; +Cc: Morgan Smith, npostavs

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






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#48102: [PATCH] * yasnippet-tests.el: Fix failing tests by adding lisp-data-mode
  2021-04-29 14:12 bug#48102: [PATCH] * yasnippet-tests.el: Fix failing tests by adding lisp-data-mode Morgan.J.Smith
@ 2021-05-02  7:53 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-05-02  7:53 UTC (permalink / raw)
  To: Morgan.J.Smith; +Cc: 48102, npostavs

Morgan.J.Smith@outlook.com writes:

> +                          ;; lisp-data-mode doesn't exist in emacs 27.1
> +                          ,@(if (fboundp 'lisp-data-mode)
> +                                '(lisp-data-mode))

Thanks; applied to GNU ELPA now.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-02  7:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-29 14:12 bug#48102: [PATCH] * yasnippet-tests.el: Fix failing tests by adding lisp-data-mode Morgan.J.Smith
2021-05-02  7:53 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).