From becdfb11a5b13bc773729236763e99e513806451 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 28 Feb 2025 03:02:15 +0100 Subject: [PATCH] Remove Emacs 23 compat code from ox-publish.el * lisp/org/ox-publish.el (org-publish-timestamp-filename): Remove Emacs 23 compat code. --- lisp/org/ox-publish.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org/ox-publish.el b/lisp/org/ox-publish.el index bb9e0bd2e30..f324f0d881f 100644 --- a/lisp/org/ox-publish.el +++ b/lisp/org/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)