emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/yasnippet 0650f19: Fix tests failing because of lisp-da


From: Lars Ingebrigtsen
Subject: [elpa] externals/yasnippet 0650f19: Fix tests failing because of lisp-data-mode
Date: Sun, 2 May 2021 03:53:24 -0400 (EDT)

branch: externals/yasnippet
commit 0650f1989b6da752f60a15aa6b5222e340388cc2
Author: Morgan Smith <Morgan.J.Smith@outlook.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix tests failing because of lisp-data-mode
    
    * yasnippet-tests.el (extra-modes-parenthood): Add lisp-data-mode
    (bug#48102).
---
 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 @@ hello ${1:$(when (stringp yas-text) (funcall func 
yas-text))} foo${1:$$(concat \
                           ;; 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 @@ hello ${1:$(when (stringp yas-text) (funcall func 
yas-text))} foo${1:$$(concat \
                                ;; 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))



reply via email to

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