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

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

[elpa] externals/kiwix 0155c9a 177/192: rename org-link functions


From: Stefan Monnier
Subject: [elpa] externals/kiwix 0155c9a 177/192: rename org-link functions
Date: Sat, 19 Dec 2020 00:41:55 -0500 (EST)

branch: externals/kiwix
commit 0155c9a19021d3cdebaab9e82783eaf106497b57
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>

    rename org-link functions
---
 kiwix.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/kiwix.el b/kiwix.el
index a67aacf..412b4da 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -356,7 +356,7 @@ for query string and library interactively."
    (t (kiwix-select-library))))
 
 ;;;###autoload
-(defun org-wikipedia-link-open (link)
+(defun org-wikipedia-open-link (link)
   "Open LINK in external Wikipedia program."
   ;; The regexp: (library):query
   ;; - query : should not exclude space
@@ -385,7 +385,7 @@ for query string and library interactively."
     (browse-url url)))
 
 ;;;###autoload
-(defun org-wikipedia-link-export (link description format)
+(defun org-wikipedia-export-link (link description format)
   "Export the Wikipedia LINK with DESCRIPTION for FORMAT from Org files."
   (when (string-match "\\(?:(\\(.*\\)):\\)?\\([^] \n\t\r]*\\)" link)
     (let* ((library (kiwix-org-get-library link))
@@ -417,9 +417,9 @@ for query string and library interactively."
 
 ;;;###autoload
 (org-link-set-parameters "wikipedia" ; NOTE: use `wikipedia' for future 
backend changing.
-                         :follow #'org-wikipedia-link-open
+                         :follow #'org-wikipedia-open-link
                          :store #'org-wikipedia-store-link
-                         :export #'org-wikipedia-link-export)
+                         :export #'org-wikipedia-export-link)
 
 ;;;###autoload
 (add-hook 'org-store-link-functions 'org-wikipedia-store-link t)



reply via email to

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