Created
May 1, 2019 09:13
-
-
Save stask/01242c9f22f317b8de5bdc5c725c7e10 to your computer and use it in GitHub Desktop.
Add support for Mailplane links to org-mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; attempt to add mailplane support | |
(defcustom org-mailplane-url-protocol "mailplane" | |
"Protocol identifier for Mailplane links." | |
:group 'org-mailplane | |
:type 'string) | |
(defun org-mailplane-follow (email-id) | |
"Open mailplane with given EMAIL-ID." | |
(browse-url (concat "mailplane:" email-id))) | |
(org-link-set-parameters org-mailplane-url-protocol :follow #'org-mailplane-follow) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Without it, was getting "No match - create as a new heading" popup when trying to click on mailplane links in org. Just stick this piece somewhere inside
(with-eval-after-load 'org ...)
.