summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2011-04-08 18:18:02 +0200
committerBastien Guerry <bzg@altern.org>2011-04-08 18:18:02 +0200
commit9a0645bcfda37431437ad0550d94445789e7a2e9 (patch)
tree5639cddc7a3bd8e87b6183481269d549be5cf749
parent8cf35f0ab123af42f4c7be83d2b179114da40d20 (diff)
downloadorg-mode-9a0645bcfda37431437ad0550d94445789e7a2e9.tar.gz
org-protocol.el: more appropriate message when capture is done.
* org-protocol.el (org-protocol-remember) (org-protocol-capture): More appropriate message.
-rw-r--r--lisp/org-protocol.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/org-protocol.el b/lisp/org-protocol.el
index 0bbef03..bedfaa3 100644
--- a/lisp/org-protocol.el
+++ b/lisp/org-protocol.el
@@ -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)