diff options
author | Arun Isaac | 2019-08-22 15:45:41 +0530 |
---|---|---|
committer | Arun Isaac | 2019-08-22 15:45:41 +0530 |
commit | 61c18b25bfb8f92da71c0a3f095844ab1222edc7 (patch) | |
tree | 677277e2b606fc96eee562f57414b093c3b81a06 /ennu.el | |
parent | e50c0e2648dec0149663d050b701cfebcba51b1f (diff) | |
download | ennum-61c18b25bfb8f92da71c0a3f095844ab1222edc7.tar.gz ennum-61c18b25bfb8f92da71c0a3f095844ab1222edc7.tar.lz ennum-61c18b25bfb8f92da71c0a3f095844ab1222edc7.zip |
Specify ennu version in Atom feed generator field.
* ennu.el (ennu-version): New variable.
(ennu-publish-feed): Specify ennu version in generator field.
Diffstat (limited to 'ennu.el')
-rw-r--r-- | ennu.el | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -7,6 +7,9 @@ (require 'cl) (require 'memoize) +(defvar ennu-version "0.1.0" + "Ennu version string") + (defmacro ennu--with-file-contents (file &rest body) (declare (indent defun)) `(with-temp-buffer @@ -147,9 +150,8 @@ (updated ,(ennu--atom-date (plist-get (ennu-post-metadata (first posts)) :date))) (link :rel "self" :href ,(ennu--absolute-uri feed-file)) (generator - ;; TODO: Change this generator - ,(format "Emacs %d.%d Org-mode %s ennu" - emacs-major-version emacs-minor-version (org-version))) + ,(format "Emacs %d.%d Org-mode %s ennu %s" + emacs-major-version emacs-minor-version (org-version) ennu-version)) (rights ,rights) ,@(when subtitle `((subtitle ,subtitle))) |