Joao Tavora 2012-02-16 10:17:18 +00:00
parent b8a1ffdf27
commit c43c55b573

5
yasnippet.el Normal file → Executable file
View File

@ -2133,7 +2133,10 @@ object satisfying `yas/field-p' to restrict the expansion to."
If expansion fails, execute the previous binding for this key"
(interactive)
(setq yas/condition-cache-timestamp (current-time))
(let* ((vec (this-command-keys-vector))
(let* ((yas/prefix current-prefix-arg)
(vec (subseq (this-command-keys-vector) (if current-prefix-arg
universal-argument-num-events
0)))
(templates (mapcan #'(lambda (table)
(yas/fetch table vec))
(yas/get-snippet-tables))))