Joao Tavora
2012-02-16 10:17:18 +00:00
parent b8a1ffdf27
commit c43c55b573
Regular → Executable
+4 -1
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" If expansion fails, execute the previous binding for this key"
(interactive) (interactive)
(setq yas/condition-cache-timestamp (current-time)) (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) (templates (mapcan #'(lambda (table)
(yas/fetch table vec)) (yas/fetch table vec))
(yas/get-snippet-tables)))) (yas/get-snippet-tables))))