Permalink
Browse files

reverse fix to get template variables prompted in the right order

Signed-off-by: yonkeltron <yonkeltron@gmail.com>
  • Loading branch information...
1 parent 614d51e commit b9247e66eec1bfa761e17a05d066cd159ac6d506 @yonkeltron committed Jul 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 terrible-template.el
View
@@ -5,7 +5,7 @@
;; Author: Jonathan E. Magen <yonkeltron@gmail.com>
;; Maintainer: Jonathan E. Magen <yonkeltron@gmail.com>
;; Created: 2012-07-22
-;; Version: 20120722001
+;; Version: 20120722002
;; Keywords: lisp, template
;; This file is NOT part of GNU Emacs.
@@ -73,7 +73,7 @@
(defun terrible-template-compile-template (structure)
"Transform macro-parsed structure into a safe-to-serialize "
(list :template-string (apply 'concat (reverse (car structure)))
- :template-variables (cadr structure)))
+ :template-variables (reverse (cadr structure))))
(defun terrible-template-store-template (template-name template-structure)
"Store template object in global template store"

0 comments on commit b9247e6

Please sign in to comment.