diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-11-02 09:20:48 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-12-19 12:19:59 +0100 |
commit | fcca8828765ac46414d226b284c4f7cff972dc67 (patch) | |
tree | c3cf7b3b70973feea74cbd7546ccbf82fb73c4cc | |
parent | d5dbf761eb6fea3436aaeb37f102f2baa004aa25 (diff) | |
download | org-mode-fcca8828765ac46414d226b284c4f7cff972dc67.tar.gz |
ox-publish: Remove unused variable
* lisp/ox-publish.el (org-publish-sitemap-date-format): Remove variable.
(org-publish-projects): Apply removal.
-rw-r--r-- | lisp/ox-publish.el | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lisp/ox-publish.el b/lisp/ox-publish.el index 936a5d9..bfc663e 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 |