Fix handling escaped placeholders in templates
commite2fbaeedc19a92e63ec0a50a6e8fcccdc4b09cdd
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 8 Jan 2016 22:36:22 +0000 (8 23:36 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 8 Jan 2016 22:36:22 +0000 (8 23:36 +0100)
tree95cdefc8b95025db886b29956362f0ceacf60586
parentda10c6ace68014c9400fcead8d0f194c0fec20f0
Fix handling escaped placeholders in templates

* lisp/org-capture.el (org-capture-fill-template):
* lisp/org-feed.el (org-feed-format-entry): Fix handling escaped
  placeholders in templates.  In particular, do not rely on match data
  when `org-capture-escaped-%' is used.

Reported-by: Michael Brand <michael.ch.brand@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/104081>
lisp/org-capture.el
lisp/org-feed.el