diff --git a/modules/home/users/crumb/emacs/modules/syd-org.el b/modules/home/users/crumb/emacs/modules/syd-org.el index b4a8d8c..9df4c96 100644 --- a/modules/home/users/crumb/emacs/modules/syd-org.el +++ b/modules/home/users/crumb/emacs/modules/syd-org.el @@ -601,5 +601,17 @@ In case of failure, fail gracefully." :config (ox-extras-activate '(latex-header-blocks ignore-headlines))) +(with-eval-after-load 'org + (org-link-set-parameters "wiktionary" + :follow #'syd-org-wiktionary-open + ;; :export #'syd-org-wiktionary-export + ) + (defun syd-org-wiktionary-open (path _) + (browse-url (format "https://en.wiktionary.org/wiki/%s" + (browse-url-encode-url path)))) + ;; (defun syd-org-wiktionary-export (link description format _) + ;; (org-export-transcoder)) + ) + (provide 'syd-org) ;;; syd-org.el ends here