]> code.delx.au - gnu-emacs-elpa/commitdiff
Fix: YAS--CALLED-INTERACTIVELY-P should reverse its condition check
authorJoão Távora <joaotavora@gmail.com>
Sat, 22 Dec 2012 18:04:54 +0000 (18:04 +0000)
committerJoão Távora <joaotavora@gmail.com>
Sat, 22 Dec 2012 18:04:54 +0000 (18:04 +0000)
yasnippet.el

index 613bddb94a02ac444ba1fce3a9d7f37bff5d24dc..6f3fd92f30bd02cd8e17b73579f8b5759ae57b0c 100644 (file)
@@ -1320,7 +1320,7 @@ them all in `yas--menu-table'"
 
 Optional KIND is as documented at `called-interactively-p'
 in GNU Emacs 24.1 or higher."
-  (if (string< "24.1" emacs-version)
+  (if (string< emacs-version "24.1")
       '(called-interactively-p)
     `(called-interactively-p ,kind)))