Allow to copy template from outside of current file

My checklist template are usually located in a separate file, and sometimes even
in more than one.  Being able to copy those template to point is thus crucial.
This commit is contained in:
Daniel - 2021-10-29 14:35:35 +02:00
parent 747e505fda
commit 0d1fe48e6f
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 1 additions and 1 deletions

View File

@ -596,7 +596,7 @@ item, which might be an instance of a periodic task.
If POM is not given, use `db/org-get-location' to interactively
query for it."
(interactive (list (db/org-get-location)))
(interactive (list (db/org-get-location t)))
(unless (number-or-marker-p pom)
(user-error "Argument is neither point nor mark: %s" pom))
(let ((body (save-restriction