diff options
author | Arun Isaac | 2022-08-18 23:13:22 +0530 |
---|---|---|
committer | Arun Isaac | 2022-08-18 23:22:42 +0530 |
commit | 269f30c781fefa08c5ba281bf66fd0c861c3b643 (patch) | |
tree | 6e573399c0e9e6ae66cc865c7e325fe52b1ac55c | |
parent | 4d37244cb76c7e1b9ecc17e6020e8da37b7ca0c2 (diff) | |
download | ennum-269f30c781fefa08c5ba281bf66fd0c861c3b643.tar.gz ennum-269f30c781fefa08c5ba281bf66fd0c861c3b643.tar.lz ennum-269f30c781fefa08c5ba281bf66fd0c861c3b643.zip |
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.
-rw-r--r-- | ennum-html.el | 2 | ||||
-rw-r--r-- | 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)))) @@ -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 |