From 1db685c480f2fda983f3a4f855b3985d6b61bccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Sat, 22 Dec 2012 18:04:54 +0000 Subject: [PATCH] Fix: YAS--CALLED-INTERACTIVELY-P should reverse its condition check --- yasnippet.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yasnippet.el b/yasnippet.el index 613bddb..6f3fd92 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -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)))