org-capture: Fix freeze when capture templates are ill-defined
commit8194e7b09d592599985ea503dbda225463323c46
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 30 Jan 2017 22:36:52 +0000 (30 23:36 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 30 Jan 2017 22:36:52 +0000 (30 23:36 +0100)
treeff4fa09ab13f86a88b1dca9580be826c61fb5d51
parentf2a5104e45b6f44a08960ae49ba20c124a8fa9d8
org-capture: Fix freeze when capture templates are ill-defined

* lisp/org-capture.el (org-mks): Do not freeze when there is a missing
  step in the key hierarchy.  Fix docstring.  Refactor code for clarity.

Reported-by: Roland Everaert <reveatwork@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/111716>
lisp/org-capture.el