branch: master commit 7849ffcec5de42b428150b085a455c78ec944337 Author: Joao Tavora <joaotav...@gmail.com> Commit: Joao Tavora <joaotav...@gmail.com>
fix: don't use universal-argument-num-events --- yasnippet.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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))