Permalink
Browse files

Closes #339

  • Loading branch information...
1 parent cfefaca commit 4f99f9dc205db03754d1d4664704e6838e545b2e @joaotavora committed Nov 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 yasnippet.el
View
2 yasnippet.el
@@ -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)))

0 comments on commit 4f99f9d

Please sign in to comment.