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:
parent
747e505fda
commit
0d1fe48e6f
|
@ -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
|
If POM is not given, use `db/org-get-location' to interactively
|
||||||
query for it."
|
query for it."
|
||||||
(interactive (list (db/org-get-location)))
|
(interactive (list (db/org-get-location t)))
|
||||||
(unless (number-or-marker-p pom)
|
(unless (number-or-marker-p pom)
|
||||||
(user-error "Argument is neither point nor mark: %s" pom))
|
(user-error "Argument is neither point nor mark: %s" pom))
|
||||||
(let ((body (save-restriction
|
(let ((body (save-restriction
|
||||||
|
|
Loading…
Reference in New Issue