org-capture.el: Use %\n instead of %n.
commit1666b910fe7bfdecbe8950fc5465ee990f541272
authorBastien Guerry <bzg@altern.org>
Tue, 24 Apr 2012 09:54:16 +0000 (24 11:54 +0200)
committerBastien Guerry <bzg@altern.org>
Tue, 24 Apr 2012 09:54:16 +0000 (24 11:54 +0200)
treebf9f645dbfcacb847a1642583cfde59cd1bde0b3
parentfdace895fa15ca6cf461a4b4a22a01747c80b33b
org-capture.el: Use %\n instead of %n.

* org-capture.el (org-capture-fill-template): Use %\n instead of %n as a
template element to be replaced with the nth prompted string.
(org-capture-templates): Update docstring.

* org.texi (Template expansion): Update doc to reflect change.

Using %n triggers errors when the template contains escaped strings,
which happens a lot with links.
doc/org.texi
lisp/org-capture.el