Remove Emacs 23 compat code from ox-publish.el

* lisp/org/ox-publish.el (org-publish-timestamp-filename): Remove
Emacs 23 compat code.
This commit is contained in:
Stefan Kangas 2025-02-28 03:02:15 +01:00
parent 64edd5a5eb
commit becdfb11a5

View file

@ -365,7 +365,7 @@ The timestamp file name is constructed using FILENAME, publishing
directory PUB-DIR, and PUB-FUNC publishing function."
(setq filename (concat filename "::" (or pub-dir "") "::"
(format "%s" (or pub-func ""))))
(concat "X" (if (fboundp 'sha1) (sha1 filename) (md5 filename))))
(concat "X" (sha1 filename)))
(defun org-publish-needed-p
(filename &optional pub-dir pub-func _true-pub-dir base-dir)