org-capture.el: Fix expand template order
commitcdb0a962bc346826bd9609af07c66bbe98cef3bd
authorRoberto Huelga Díaz <rhuelga@gmail.com>
Wed, 29 Oct 2014 17:29:11 +0000 (29 18:29 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 2 Nov 2014 09:40:31 +0000 (2 10:40 +0100)
tree94c6f80d4976f1c3c622dc301875548317496c67
parente975eac4ce3051d234aed27935b490cee6b22647
org-capture.el: Fix expand template order

* lisp/org-capture.el (org-capture-fill-template): Expand %(sexp) after
  %:keywords, per documentation about capture templates expansion.

When a template is expanded first the simple %-escapes, %:keywords and
after that the %(sexp).

TINYCHANGE
lisp/org-capture.el