branch: externals/kiwix commit 6e4381294183fecffb18118679d7ebd5f6794454 Author: stardiviner <numbch...@gmail.com> Commit: stardiviner <numbch...@gmail.com>
fix void functions by adding autoload cookies. --- kiwix.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kiwix.el b/kiwix.el index a5ec5c7..5416050 100644 --- a/kiwix.el +++ b/kiwix.el @@ -34,7 +34,9 @@ (require 'cl-lib) ;; load for `org-link-set-parameters' +;;;###autoload (require 'org) +;;;###autoload (declare-function 'org-link-set-parameters "org") (defgroup kiwix nil @@ -261,6 +263,7 @@ for query string and library interactively." ) ) +;;;###autoload (defun org-wikipedia-link-open (link) "Open LINK in external Wikipedia program." ;; The regexp: (library):query @@ -283,6 +286,7 @@ for query string and library interactively." ;; (prin1 (format "library: %s, query: %s, url: %s" library query url)) (browse-url url)))) +;;;###autoload (defun org-wikipedia-link-export (link description format) "Export the Wikipedia LINK with DESCRIPTION for FORMAT from Org files." (when (string-match "\\(?:(\\(.*\\)):\\)?\\([^] \n\t\r]*\\)" link) @@ -299,6 +303,7 @@ for query string and library interactively." ((eq format 'latex) (format "\\href{%s}{%s}" path desc)) (t path)))))) +;;;###autoload (defun org-wikipedia-store-link () "Store a link to a Wikipedia link." ;; [C-c o C-l l] `org-store-link'