diff options
author | Arun Isaac | 2022-08-19 01:18:12 +0530 |
---|---|---|
committer | Arun Isaac | 2022-08-19 01:25:46 +0530 |
commit | b5fcffe362f5334a70d885e7a269ec9addb6a841 (patch) | |
tree | eb856999e66981ceb33630b3419bf957cdc42f80 | |
parent | 2dd38c7283947780d76e8c2a9670ecafb0d8dc5b (diff) | |
download | ennum-b5fcffe362f5334a70d885e7a269ec9addb6a841.tar.gz ennum-b5fcffe362f5334a70d885e7a269ec9addb6a841.tar.lz ennum-b5fcffe362f5334a70d885e7a269ec9addb6a841.zip |
Rename :video-directory setting to :videos-directory.
* ennum.el (ennum-setting, ennum-blog): Rename :video-directory
setting to :videos-directory.
(ennum-publish-link): Use :videos-directory setting instead of
:video-directory.
* ennum-html.el (ennum-html-link, ennum-html-follow-video): Use
:videos-directory setting instead of :video-directory.
-rw-r--r-- | ennum-html.el | 4 | ||||
-rw-r--r-- | ennum.el | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/ennum-html.el b/ennum-html.el index d0bd7e1..5198a80 100644 --- a/ennum-html.el +++ b/ennum-html.el @@ -310,7 +310,7 @@ ("video" (xmlgen `(video :src ,(url-encode-url - (expand-file-name* path (ennum-setting :video-directory))) + (expand-file-name* path (ennum-setting :videos-directory))) :poster ,(url-encode-url (expand-file-name* (ennum-video-link-poster @@ -366,7 +366,7 @@ (defun ennum-html-follow-video (path) (ennum-html-follow (expand-file-name path - (ennum-setting :video-directory)))) + (ennum-setting :videos-directory)))) (org-link-set-parameters "video" @@ -25,7 +25,7 @@ Valid properties are described below. Absolute path to directory containing the blog source code. All paths (`:posts-directory', `:images-directory', -`:static-directory', `:video-directory' `:other-files-directory', +`:static-directory', `:videos-directory' `:other-files-directory', `:output-directory', `:store', etc.) are interpreted relative to this path. @@ -56,7 +56,7 @@ that are linked to from a post using the \"static\" link type are published. Static files not linked to from any post are not published. -`:video-directory' +`:videos-directory' Source directory containing video files that are linked to. Video files that are linked to from a post using the \"video\" link @@ -658,7 +658,7 @@ result as a string." (pcase property ((or :blog-domain :blog-license :blog-title :images-directory :output-directory :posts-directory - :static-directory :tag-directory :video-directory + :static-directory :tag-directory :videos-directory :working-directory) (or (plist-get ennum-blog property) (user-error "Property %s not defined" property))) @@ -764,7 +764,7 @@ recognized as a directory, it should end in a slash. See ('video (seq-map 'ennum-publish-copy (list - (ennum--file-join (ennum-setting :video-directory) + (ennum--file-join (ennum-setting :videos-directory) (ennum-link-path link)) (ennum--file-join (ennum-setting :images-directory) (ennum-video-link-poster link))))))) |