mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-14 05:23:04 +00:00
Closes #339
This commit is contained in:
parent
cfefaca284
commit
4f99f9dc20
@ -1311,7 +1311,7 @@ them all in `yas--menu-table'"
|
||||
|
||||
Optional KIND is as documented at `called-interactively-p'
|
||||
in GNU Emacs 24.1 or higher."
|
||||
(if (eq 0 (cdr (subr-arity (symbol-function 'called-interactively-p))))
|
||||
(if (string< "24.1" emacs-version)
|
||||
'(called-interactively-p)
|
||||
`(called-interactively-p ,kind)))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user