My attempt to optimize my emacs load time <1 second
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
443 B

;;; ol-message.el --- Support for links to mail message
;;; Commentary:
;;; Code:
(require 'ol)
(defun org-message-command (link)
"The Emacs command to be used to open a message in Mail via LINK."
(shell-command (format "open \"message:%s\"" link))
(message "Opening message in Mail..."))
(org-link-set-parameters "message"
:follow #'org-message-command)
(provide 'ol-message)
;;; ol-message.el ends here