emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/kiwix 6e43812 102/192: fix void functions by adding aut


From: Stefan Monnier
Subject: [elpa] externals/kiwix 6e43812 102/192: fix void functions by adding autoload cookies.
Date: Sat, 19 Dec 2020 00:41:42 -0500 (EST)

branch: externals/kiwix
commit 6e4381294183fecffb18118679d7ebd5f6794454
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@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'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]