forked from mirrors/org-mode
org-protocol: Fix `org-protocol-capture' return value
* lisp/org-protocol.el: Make sure protocols with :kill-client do not return a string. TINYCHANGE
This commit is contained in:
parent
2d9b08b897
commit
255c9c1655
|
@ -503,8 +503,11 @@ Now template ?b will be used."
|
|||
:initial region
|
||||
:query parts)
|
||||
(raise-frame)
|
||||
(org-capture nil template))
|
||||
(message "Item captured."))
|
||||
(org-capture nil template)
|
||||
(message "Item captured.")
|
||||
;; Make sure we do not return a string, as `server-visit-files',
|
||||
;; through `server-edit', would interpret it as a file name.
|
||||
nil))
|
||||
|
||||
(defun org-protocol-convert-query-to-plist (query)
|
||||
"Convert QUERY key=value pairs in the URL to a property list."
|
||||
|
|
Loading…
Reference in a new issue