org-protocol.el: more appropriate message when capture is done.

* org-protocol.el (org-protocol-remember)
(org-protocol-capture): More appropriate message.
This commit is contained in:
Bastien Guerry 2011-04-08 18:18:02 +02:00
parent 8cf35f0ab1
commit 9a0645bcfd
1 changed files with 4 additions and 4 deletions

View File

@ -400,9 +400,9 @@ The location for a browser's bookmark has to look like this:
See the docs for `org-protocol-capture' for more information."
(if (and (boundp 'org-stored-links)
(or (fboundp 'org-capture))
(fboundp 'org-capture)
(org-protocol-do-capture info 'org-remember))
(message "Org-mode not loaded."))
(message "Item remembered."))
nil)
(defun org-protocol-capture (info)
@ -427,9 +427,9 @@ But you may prepend the encoded URL with a character and a slash like so:
Now template ?b will be used."
(if (and (boundp 'org-stored-links)
(or (fboundp 'org-capture))
(fboundp 'org-capture)
(org-protocol-do-capture info 'org-capture))
(message "Org-mode not loaded."))
(message "Item captured."))
nil)
(defun org-protocol-do-capture (info capture-func)