forked from mirrors/org-mode
org-protocol: Fix for silently failing open-source subprotocol
* (org-protocol-open-source): Tests URL against base-url and not the filename. TINYCHANGE
This commit is contained in:
parent
5748615c48
commit
cbcd714b23
|
@ -556,7 +556,7 @@ The location for a browser's bookmark should look like this:
|
|||
;; Try to match a rewritten URL and map it to
|
||||
;; a real file. Compare redirects without
|
||||
;; suffix.
|
||||
(when (string-match-p (car rewrite) f2)
|
||||
(when (string-match-p (car rewrite) f1)
|
||||
(throw 'result (concat wdir (cdr rewrite))))))))
|
||||
;; -- end of redirects --
|
||||
|
||||
|
|
Loading…
Reference in a new issue