diff --git a/yasnippet-tests.el b/yasnippet-tests.el index 9fadf00..7fc54ee 100644 --- a/yasnippet-tests.el +++ b/yasnippet-tests.el @@ -1392,6 +1392,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 ;; `lisp-data-mode' doesn't exist prior to Emacs 28. @@ -1421,6 +1424,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