From 620a3483a4180dac9ae45b0057010c903b821b8c Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 18 Aug 2022 23:18:22 +0530 Subject: Rename :thumbnail-image-width property to :image-thumbnail-width. * ennum.el (ennum-publish): Use :image-thumbnail-width instead of :thumbnail-image-width. (ennum-setting): Rename :thumbnail-image-width property to :image-thumbnail-width. * ennum-html.el (ennum-html-export-thumbnail): Use :image-thumbnail-width instead of :thumbnail-image-width. --- ennum-html.el | 2 +- ennum.el | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ennum-html.el b/ennum-html.el index 9dc0a83..d0bd7e1 100644 --- a/ennum-html.el +++ b/ennum-html.el @@ -356,7 +356,7 @@ `(img :src ,(url-encode-url (expand-file-name* (ennum-image-output-filename - path (ennum-setting :thumbnail-image-width)) + path (ennum-setting :image-thumbnail-width)) (ennum-setting :images-directory)))))))) (org-link-set-parameters diff --git a/ennum.el b/ennum.el index ee4b153..b90fc57 100644 --- a/ennum.el +++ b/ennum.el @@ -547,7 +547,7 @@ result as a string." :blog-scheme :index-posts-per-page :image-width :image-link-width :locale-alist :other-files-directory - :store :tag-directory :thumbnail-image-width) + :store :tag-directory :image-thumbnail-width) (plist-get (org-combine-plists (list :atom-feed-number-of-posts 12 :atom-feed-file "blog.atom" @@ -558,7 +558,7 @@ result as a string." :locale-alist '(("en" . "C")) :store ".ennum" :tag-directory "tag" - :thumbnail-image-width 320) + :image-thumbnail-width 320) ennum-blog) property)) (_ (error "Unknown property %s" property)))) @@ -723,7 +723,7 @@ as keys. Keys are compared using `equal'." (seq-map (lambda (image) (ennum-publish-image (ennum--file-join (ennum-setting :images-directory) image) - (ennum-setting :thumbnail-image-width))) + (ennum-setting :image-thumbnail-width))) (ennum--filter-map 'ennum-post-thumbnail posts)) ;; Publish other files (seq-map (apply-partially 'ennum-publish-generic other-files-directory) -- cgit v1.2.3