[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kiwix fedb138fec 10/15: Remove supposed deleted duplica
From: |
ELPA Syncer |
Subject: |
[elpa] externals/kiwix fedb138fec 10/15: Remove supposed deleted duplicated prototype code. |
Date: |
Wed, 7 Dec 2022 19:58:03 -0500 (EST) |
branch: externals/kiwix
commit fedb138fec70b0b911617f01625d69362cd1999b
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>
Remove supposed deleted duplicated prototype code.
---
kiwix.el | 30 +-----------------------------
1 file changed, 1 insertion(+), 29 deletions(-)
diff --git a/kiwix.el b/kiwix.el
index 7142cd585b..31a6ac8863 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -192,35 +192,7 @@ Set it to ‘t’ will use Emacs built-in ‘completing-read’."
_data))
:status-code '((404 . (lambda (&rest _) (message (format "Endpoint %s
does not exist." url))))
(500 . (lambda (&rest _) (message (format "Error from
%s." url))))))))
-
- ((and (eq kiwix-server-type 'docker-remote) (string-equal
kiwix-server-api-version "v2"))
- (let ((url (format "%s:%s/catalog/v2/categories" kiwix-server-url
kiwix-server-port)))
- (request url
- :type "GET"
- :sync t
- :parser (lambda ()
- (if (libxml-available-p)
- (let ((xml-data (libxml-parse-xml-region (point-min)
(point-max))))
- (setq kiwix-libraries
- (remove-if 'null
- (mapcar
- (lambda (cons)
- (when (and (listp cons) (eq (car
cons) 'entry))
- (let* ((entry cons)
- (title (caddr (assq
'title entry))) ; "title"
- (link (assq 'href (cadr
(assq 'link cons)))) ; "/catalog/v2/entries?category=stack_exchange"
- )
- title)))
- xml-data))))))
- :error (cl-function
- (lambda (&rest args &key error-thrown &allow-other-keys)
- (message "Function kiwix-get-libraries error.")))
- :success (cl-function
- (lambda (&key _data &allow-other-keys)
- _data))
- :status-code '((404 . (lambda (&rest _) (message (format "Endpoint %s
does not exist." url))))
- (500 . (lambda (&rest _) (message (format "Error from
%s." url))))))))
-
+
;; ZIM library files on remote Docker server, parse index HTML page.
((and (eq kiwix-server-type 'docker-remote) (string-equal
kiwix-server-api-version "v1"))
(let ((url (format "%s:%s" kiwix-server-url kiwix-server-port)))
- [elpa] externals/kiwix e20c67854b 05/15: Update extension description., (continued)
- [elpa] externals/kiwix e20c67854b 05/15: Update extension description., ELPA Syncer, 2022/12/07
- [elpa] externals/kiwix d21cbe30d6 06/15: Update library homepage, ELPA Syncer, 2022/12/07
- [elpa] externals/kiwix 4f683e87b2 12/15: Get the complete thumbnail image URL, ELPA Syncer, 2022/12/07
- [elpa] externals/kiwix 99c4663b6a 11/15: Add API URL scheme example comments., ELPA Syncer, 2022/12/07
- [elpa] externals/kiwix 444f686a7f 15/15: Display kiwix library thumbnail URL image in vertico candidates., ELPA Syncer, 2022/12/07
- [elpa] externals/kiwix 6afdefeed3 01/15: Don't need .html in URL constructor now., ELPA Syncer, 2022/12/07
- [elpa] externals/kiwix 1645c5b659 04/15: kiwix search keywords async completion read with Helm support, ELPA Syncer, 2022/12/07
- [elpa] externals/kiwix 9c5d9cf558 08/15: Add missing URL parameters to retrieve complete available ZIM libraries., ELPA Syncer, 2022/12/07
- [elpa] externals/kiwix 5892fff779 02/15: Add missing kiwix server port in `org-kiwix-open-link' function, ELPA Syncer, 2022/12/07
- [elpa] externals/kiwix 4743f948f8 09/15: Fix query string replace space with "_" in the concatenated with query URL., ELPA Syncer, 2022/12/07
- [elpa] externals/kiwix fedb138fec 10/15: Remove supposed deleted duplicated prototype code.,
ELPA Syncer <=
- [elpa] externals/kiwix 1b2f99eec3 13/15: Display full kiwix library name for library filename candidates with propertize., ELPA Syncer, 2022/12/07
- [elpa] externals/kiwix b2d0c0dc9d 14/15: rename let-binding variable names., ELPA Syncer, 2022/12/07