ox-publish: Remove unused variable

* lisp/ox-publish.el (org-publish-sitemap-date-format): Remove variable.
(org-publish-projects): Apply removal.
This commit is contained in:
Nicolas Goaziou 2016-11-02 09:20:48 +01:00
parent d5dbf761eb
commit fcca882876
1 changed files with 1 additions and 10 deletions

View File

@ -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