org-capture: Fix %k and %K in capture template
commit3315bd11186992e11e7164429f513a41afa9785c
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 13 Jul 2017 12:08:20 +0000 (13 14:08 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 13 Jul 2017 12:08:20 +0000 (13 14:08 +0200)
treec8c8fa148edb10d91cc52431da24b19530d86efd
parenta8e13b9ffc207d46a926752e86f6242950e42aa7
org-capture: Fix %k and %K in capture template

* lisp/org-capture.el (org-capture-fill-template): Fix link returned
  by %K.  Also, both %k and %K should be expanded as strings even when
  there is no clocking data.

Reported-by: Michal Politowski <mpol@meep.pl>
lisp/org-capture.el