branch: externals/org commit 05825473f3669d419501d33111a91ab09e188749 Author: Stefan Kangas <stefankan...@gmail.com> Commit: Kyle Meyer <k...@kyleam.com>
Backport commit becdfb11a from Emacs * lisp/ox-publish.el (org-publish-timestamp-filename): Remove Emacs 23 compat code. Remove Emacs 23 compat code from ox-publish.el becdfb11a5b13bc773729236763e99e513806451 Stefan Kangas Fri Feb 28 03:05:30 2025 +0100 --- lisp/ox-publish.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-publish.el b/lisp/ox-publish.el index bb9e0bd2e3..f324f0d881 100644 --- a/lisp/ox-publish.el +++ b/lisp/ox-publish.el @@ -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)