]> code.delx.au - gnu-emacs-elpa/commitdiff
fix: don't use universal-argument-num-events
authorJoao Tavora <joaotavora@gmail.com>
Mon, 14 Oct 2013 09:26:34 +0000 (10:26 +0100)
committerJoao Tavora <joaotavora@gmail.com>
Mon, 14 Oct 2013 09:26:34 +0000 (10:26 +0100)
yasnippet.el

index 8fb14b4978f11e83993f4143dbf7a731e2cbc5da..8149acc166c90fe643da9a19659a735c3aef0071 100644 (file)
@@ -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))