[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kiwix b2d0c0dc9d 14/15: rename let-binding variable nam
From: |
ELPA Syncer |
Subject: |
[elpa] externals/kiwix b2d0c0dc9d 14/15: rename let-binding variable names. |
Date: |
Wed, 7 Dec 2022 19:58:03 -0500 (EST) |
branch: externals/kiwix
commit b2d0c0dc9ddfeefc1d3b3fee944a5682a73ed7c5
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>
rename let-binding variable names.
---
kiwix.el | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/kiwix.el b/kiwix.el
index ee6b5f0a92..732bac31de 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -173,19 +173,19 @@ Set it to ‘t’ will use Emacs built-in ‘completing-read’."
(when (and (listp cons) (eq (car
cons) 'entry))
(let* ((entry-xml cons)
(title (caddr (assq
'title entry-xml))) ; "title"
- (thumbnail_url (format
"%s:%s/%s"
+ (thumbnail-url (format
"%s:%s/%s"
kiwix-server-url kiwix-server-port
(cdr (assq 'href (cadr (assq 'link entry-xml))))))
- (link_url_path (cdr
- (assq
'href
-
(cadr
-
(seq-find
-
(lambda (element)
-
(if (and (listp element) (eq (car element) 'link))
-
(if (string-equal (cdr (assq 'type (cadr element))) "text/html")
-
element)))
-
entry-xml)))))
- (library-filename
(string-trim-left link_url_path "/")))
+ (library-link-path (cdr
+ (assq
'href
+
(cadr
+
(seq-find
+
(lambda (element)
+
(if (and (listp element) (eq (car element) 'link))
+
(if (string-equal (cdr (assq 'type (cadr element))) "text/html")
+
element)))
+
entry-xml)))))
+ (library-filename
(string-trim-left library-link-path "/")))
(propertize library-filename
'display (format
"%s (%s)" title library-filename)))))
xml-data))))))
- [elpa] externals/kiwix 4f683e87b2 12/15: Get the complete thumbnail image URL, (continued)
- [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, 2022/12/07
- [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 <=