mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
Closes #447: only call command beyond yasnippet if it exists
This commit is contained in:
parent
0567c931f4
commit
c18672a227
@ -2276,7 +2276,8 @@ Common gateway for `yas-expand-from-trigger-key' and
|
||||
(yas--message 4 "Falling back to %s" beyond-yasnippet)
|
||||
(assert (or (null beyond-yasnippet) (commandp beyond-yasnippet)))
|
||||
(setq this-original-command beyond-yasnippet)
|
||||
(call-interactively beyond-yasnippet)))
|
||||
(when beyond-yasnippet
|
||||
(call-interactively beyond-yasnippet))))
|
||||
((and (listp yas-fallback-behavior)
|
||||
(cdr yas-fallback-behavior)
|
||||
(eq 'apply (car yas-fallback-behavior)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user