emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org a32f015 1/2: org-protocol: Fix missing '+' in js sn


From: ELPA Syncer
Subject: [elpa] externals/org a32f015 1/2: org-protocol: Fix missing '+' in js snippet
Date: Wed, 28 Apr 2021 01:57:19 -0400 (EDT)

branch: externals/org
commit a32f015aacc88ac788deb0180cdacedbf2a02628
Author: David Asabina <vid@bina.me>
Commit: Bastien Guerry <bzg@gnu.org>

    org-protocol: Fix missing '+' in js snippet
    
    * org-protocol (org-protocol-capture): Add missing plus-sign to
    javascript snippet to allow readers of the doc string to use example
    snippet with minimal edits.
    
    TINYCHANGE
---
 lisp/org-protocol.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-protocol.el b/lisp/org-protocol.el
index be74057..878423d 100644
--- a/lisp/org-protocol.el
+++ b/lisp/org-protocol.el
@@ -462,7 +462,7 @@ This function detects an URL, title and optional text, 
separated
 by `/'.  The location for a browser's bookmark looks like this:
 
   javascript:location.href = \\='org-protocol://capture?url=\\='+ \\
-        encodeURIComponent(location.href) + \\='&title=\\=' \\
+        encodeURIComponent(location.href) + \\='&title=\\=' + \\
         encodeURIComponent(document.title) + \\='&body=\\=' + \\
         encodeURIComponent(window.getSelection())
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]