[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals-release/org 38ccb77196 1/3: Backport commit 55555a6a0 f
From: |
ELPA Syncer |
Subject: |
[elpa] externals-release/org 38ccb77196 1/3: Backport commit 55555a6a0 from Emacs |
Date: |
Sun, 31 Dec 2023 12:58:27 -0500 (EST) |
branch: externals-release/org
commit 38ccb77196859f579a01a2e6b8ae2cf11d5b2df9
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Kyle Meyer <kyle@kyleam.com>
Backport commit 55555a6a0 from Emacs
* lisp/org-protocol.el: Minor copy-edits to Commentary.
org-protocol: Minor copy-edits to Commentary
55555a6a0d1d76468f8327972b3cb067b9e35f24
Stefan Kangas
Sat Dec 30 17:53:53 2023 +0100
---
lisp/org-protocol.el | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/lisp/org-protocol.el b/lisp/org-protocol.el
index 2b07a377e2..1513219629 100644
--- a/lisp/org-protocol.el
+++ b/lisp/org-protocol.el
@@ -34,7 +34,10 @@
;; `org-protocol-protocol-alist' and `org-protocol-protocol-alist-default'.
;;
;; Any application that supports calling external programs with an URL
-;; as argument may be used with this functionality.
+;; as argument could use this functionality. For example, you can
+;; configure bookmarks in your web browser to send a link to the
+;; current page to Org and create a note from it using `org-capture'.
+;; See Info node `(org) Protocols' for more information.
;;
;;
;; Usage:
@@ -44,13 +47,13 @@
;;
;; (require 'org-protocol)
;;
-;; 3.) Ensure emacs-server is up and running.
-;; 4.) Try this from the command line (adjust the URL as needed):
+;; 2.) Ensure emacs-server is up and running.
+;; 3.) Try this from the command line (adjust the URL as needed):
;;
;; $ emacsclient \
;;
"org-protocol://store-link?url=http:%2F%2Flocalhost%2Findex.html&title=The%20title"
;;
-;; 5.) Optionally add custom sub-protocols and handlers:
+;; 4.) Optionally, add custom sub-protocols and handlers:
;;
;; (setq org-protocol-protocol-alist
;; '(("my-protocol"
@@ -64,10 +67,11 @@
;; If it works, you can now setup other applications for using this feature.
;;
;;
-;; As of March 2009 Firefox users follow the steps documented on
-;; https://kb.mozillazine.org/Register_protocol, Opera setup is described here:
-;; http://www.opera.com/support/kb/view/535/
+;; Firefox users follow the steps documented on
+;; https://kb.mozillazine.org/Register_protocol, Opera setup is
+;; described here: http://www.opera.com/support/kb/view/535/
;;
+;; See also: https://orgmode.org/worg/org-contrib/org-protocol.html
;;
;; Documentation
;; -------------
@@ -123,9 +127,6 @@
;; Note that using double slashes is optional from org-protocol.el's point of
;; view because emacsclient squashes the slashes to one.
;;
-;;
-;; provides: 'org-protocol
-;;
;;; Code:
(require 'org-macs)