From 7849ffcec5de42b428150b085a455c78ec944337 Mon Sep 17 00:00:00 2001 From: Joao Tavora Date: Mon, 14 Oct 2013 10:26:34 +0100 Subject: [PATCH] fix: don't use universal-argument-num-events --- yasnippet.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yasnippet.el b/yasnippet.el index 8fb14b4..8149acc 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -2203,7 +2203,7 @@ If expansion fails, execute the previous binding for this key" (interactive) (setq yas--condition-cache-timestamp (current-time)) (let* ((vec (subseq (this-command-keys-vector) (if current-prefix-arg - universal-argument-num-events + (length (this-command-keys)) 0))) (templates (mapcan #'(lambda (table) (yas--fetch table vec))