浏览代码

org.texi: Fix typo in capture protocol example

* doc/org.texi (@code{capture} protocol): Add missing protocol.

Reported-by: Буковская Агнесса <aggie@yandex.ru>
<http://lists.gnu.org/r/emacs-orgmode/2018-03/msg00528.html>
Nicolas Goaziou 7 年之前
父节点
当前提交
7240f9c847
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/org.texi

+ 1 - 1
doc/org.texi

@@ -7593,7 +7593,7 @@ To use this feature, add a bookmark with an arbitrary name, e.g.  @samp{Org:
 capture} and enter this as @samp{Location}:
 capture} and enter this as @samp{Location}:
 
 
 @example
 @example
-javascript:location.href='org-protocol://template=x'+
+javascript:location.href='org-protocol://capture?template=x'+
       '&url='+encodeURIComponent(window.location.href)+
       '&url='+encodeURIComponent(window.location.href)+
       '&title='+encodeURIComponent(document.title)+
       '&title='+encodeURIComponent(document.title)+
       '&body='+encodeURIComponent(window.getSelection());
       '&body='+encodeURIComponent(window.getSelection());