Created
September 16, 2009 12:32
-
-
Save imakado/188018 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- yasnippet.el.orig 2009-09-16 21:30:40.000000000 +0900 | |
+++ yasnippet.el 2009-09-16 21:31:07.000000000 +0900 | |
@@ -735,9 +735,8 @@ | |
(skip-syntax-backward syntax) | |
(setq start (point))) | |
(setq templates | |
- (mapcan #'(lambda (table) | |
- (yas/snippet-table-fetch table (buffer-substring-no-properties start end))) | |
- (yas/get-snippet-tables))) | |
+ (loop for table in (yas/get-snippet-tables) | |
+ append (yas/snippet-table-fetch table (buffer-substring-no-properties start end)))) | |
(if templates | |
(setq done t) | |
(setq start end))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment