org-protocol.el: Fix spelling mistake.
* org-protocol.el (org-protocol-check-filename-for-protocol): Fix spelling mistake. Thanks to Paul Eggert for fixing this in Emacs first.
This commit is contained in:
parent
bc1af7b52a
commit
26d98193d6
|
@ -546,8 +546,8 @@ as filename."
|
||||||
(when (string-match proto fname)
|
(when (string-match proto fname)
|
||||||
(let* ((func (plist-get (cdr prolist) :function))
|
(let* ((func (plist-get (cdr prolist) :function))
|
||||||
(greedy (plist-get (cdr prolist) :greedy))
|
(greedy (plist-get (cdr prolist) :greedy))
|
||||||
(splitted (split-string fname proto))
|
(split (split-string fname proto))
|
||||||
(result (if greedy restoffiles (cadr splitted))))
|
(result (if greedy restoffiles (cadr split))))
|
||||||
(when (plist-get (cdr prolist) :kill-client)
|
(when (plist-get (cdr prolist) :kill-client)
|
||||||
(message "Greedy org-protocol handler. Killing client.")
|
(message "Greedy org-protocol handler. Killing client.")
|
||||||
(server-edit))
|
(server-edit))
|
||||||
|
|
Loading…
Reference in New Issue