mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-22 07:09:47 +00:00
Merge branch 'maint'
This commit is contained in:
commit
047fa8c319
@ -631,7 +631,7 @@ CLIENT is ignored."
|
||||
(greedy (plist-get (cdr prolist) :greedy))
|
||||
(split (split-string fname proto))
|
||||
(result (if greedy restoffiles (cadr split)))
|
||||
(new-style (string-match "/*?" (match-string 1 fname))))
|
||||
(new-style (not (= ?: (aref (match-string 1 fname) 0)))))
|
||||
(when (plist-get (cdr prolist) :kill-client)
|
||||
(message "Greedy org-protocol handler. Killing client.")
|
||||
(server-edit))
|
||||
|
@ -40,7 +40,7 @@
|
||||
"url=https%3A%2F%2Forgmode.org%2Forg.html%23capture-protocol&"
|
||||
"title=The%20Org%20Manual&"
|
||||
"body=9.4.2%20capture%20protocol"))
|
||||
(data (org-protocol-parse-parameters url)))
|
||||
(data (org-protocol-parse-parameters url t)))
|
||||
(should (string= (plist-get data :template) "p"))
|
||||
(should (string= (plist-get data :url) "https://orgmode.org/org.html#capture-protocol"))
|
||||
(should (string= (plist-get data :title) "The Org Manual"))
|
||||
|
Loading…
Reference in New Issue
Block a user