Fix bug with allowed property values for remember templates.
commit627cc45e7161cced1d3b58f4fb34ae7e581e1a1b
authorCarsten Dominik <carsten.dominik@gmail.com>
Tue, 18 Nov 2008 07:24:27 +0000 (18 08:24 +0100)
committerCarsten Dominik <carsten.dominik@gmail.com>
Tue, 18 Nov 2008 07:27:26 +0000 (18 08:27 +0100)
tree37caa81e0de972867f3e844e36f227e76cb6af8c
parentb52ba29529a2cb4da2f742fc63bab9772343c29c
Fix bug with allowed property values for remember templates.

When an org-remember template inserts a property, the template-creating
function tries to support the user by retrieving a list of allowed
values to facilitate completion.  So far this was done by getting the
property with inheritance, ignoring that the cursor in the target file
buffer may not be in an entry at all.  So now we just look at the global
and file lists of allowed values.

Reported by James TD Smith.
lisp/ChangeLog
lisp/org-remember.el
lisp/org.el