mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 05:03:04 +00:00
Fix tests failing because of lisp-data-mode
* yasnippet-tests.el (extra-modes-parenthood): Add lisp-data-mode (bug#48102).
This commit is contained in:
parent
5cbdbf0d20
commit
0650f1989b
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user