Here's the motive for this question.
If EXPORT_FILE_NAME starting working for me, I would not need these completion functions for publish that just do the file renaming:
(defun eless/readme-completion-fn (proj-plist)
(let* ((pub-dir (plist-get proj-plist :publishing-directory))
(before-name (concat pub-dir "
eless.md"))
(after-name (concat pub-dir "README.md")))
(rename-file before-name after-name :ok-if-already-exists)))
(defun eless/contributing-completion-fn (proj-plist)
(let* ((pub-dir (plist-get proj-plist :publishing-directory))
(before-name (concat pub-dir "
eless.md"))
(after-name (concat pub-dir "CONTRIBUTING.md")))
(rename-file before-name after-name :ok-if-already-exists)))
(defun eless/wiki-tcsh-completion-fn (proj-plist)
(let* ((pub-dir (plist-get proj-plist :publishing-directory))
(before-name (concat pub-dir "
eless.md"))
(after-name (concat pub-dir "Example eless Config in
tcsh.md")))
(rename-file before-name after-name :ok-if-already-exists)))