From 269f30c781fefa08c5ba281bf66fd0c861c3b643 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 18 Aug 2022 23:13:22 +0530 Subject: Rename :default-image-width property to :image-width. * ennum.el (ennum-publish-link): Use :image-width instead of :default-image-width. (ennum-setting): Rename :default-image-width property to :image-width. * ennum-html.el (ennum-html-link): Use :image-width instead of :default-image-width. --- ennum-html.el | 2 +- ennum.el | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ennum-html.el b/ennum-html.el index 907eb94..9dc0a83 100644 --- a/ennum-html.el +++ b/ennum-html.el @@ -297,7 +297,7 @@ link :path (url-encode-url (expand-file-name* (ennum-image-output-filename - path (ennum-setting :default-image-width)) + path (ennum-setting :image-width)) (ennum-setting :images-directory)))) :type "file") desc info)))) diff --git a/ennum.el b/ennum.el index d89872d..ee4b153 100644 --- a/ennum.el +++ b/ennum.el @@ -544,15 +544,15 @@ result as a string." (or (plist-get ennum-blog property) (user-error "Property %s not defined" property))) ((or :atom-feed-number-of-posts :atom-feed-file - :blog-scheme :default-image-width - :image-link-width :index-posts-per-page + :blog-scheme :index-posts-per-page + :image-width :image-link-width :locale-alist :other-files-directory :store :tag-directory :thumbnail-image-width) (plist-get (org-combine-plists (list :atom-feed-number-of-posts 12 :atom-feed-file "blog.atom" :blog-scheme "https" - :default-image-width 640 + :image-width 640 :image-link-width 1024 :index-posts-per-page 12 :locale-alist '(("en" . "C")) @@ -633,7 +633,7 @@ recognized as a directory, it should end in a slash. See (ennum--file-join (ennum-setting :images-directory) (ennum-link-path link)) width)) - (list (ennum-setting :default-image-width) + (list (ennum-setting :image-width) (ennum-setting :image-link-width)))) ('static (list -- cgit v1.2.3