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

  1. ;;; ol-message.el --- Support for links to mail message
  2. ;;; Commentary:
  3. ;;; Code:
  4. (require 'ol)
  5. (defun org-message-command (link)
  6. "The Emacs command to be used to open a message in Mail via LINK."
  7. (shell-command (format "open \"message:%s\"" link))
  8. (message "Opening message in Mail..."))
  9. (org-link-set-parameters "message"
  10. :follow #'org-message-command)
  11. (provide 'ol-message)
  12. ;;; ol-message.el ends here