From fcca8828765ac46414d226b284c4f7cff972dc67 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 2 Nov 2016 09:20:48 +0100 Subject: [PATCH] ox-publish: Remove unused variable * lisp/ox-publish.el (org-publish-sitemap-date-format): Remove variable. (org-publish-projects): Apply removal. --- lisp/ox-publish.el | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/lisp/ox-publish.el b/lisp/ox-publish.el index 936a5d939..bfc663e07 100644 --- a/lisp/ox-publish.el +++ b/lisp/ox-publish.el @@ -349,12 +349,6 @@ You can overwrite this default per project in your :group 'org-export-publish :type 'boolean) -(defcustom org-publish-sitemap-date-format "%Y-%m-%d" - "Format for printing a date in the sitemap. -See `format-time-string' for allowed formatters." - :group 'org-export-publish - :type 'string) - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -613,10 +607,7 @@ If `:auto-sitemap' is set, publish the sitemap too. If (when (plist-get project-plist :auto-sitemap) (let ((sitemap-filename (or (plist-get project-plist :sitemap-filename) - "sitemap.org")) - (org-publish-sitemap-date-format - (or (plist-get project-plist :sitemap-date-format) - org-publish-sitemap-date-format))) + "sitemap.org"))) (org-publish-sitemap project sitemap-filename))) ;; Publish all files from PROJECT excepted "theindex.org". Its ;; publishing will be deferred until "theindex.inc" is