From: Stefan Kangas Date: Fri, 28 Feb 2025 02:02:15 +0000 (+0100) Subject: Remove Emacs 23 compat code from ox-publish.el X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=69ecbd3b35532ee4c18078c31fb37081bbfe2971;p=emacs.git Remove Emacs 23 compat code from ox-publish.el * lisp/org/ox-publish.el (org-publish-timestamp-filename): Remove Emacs 23 compat code. (cherry picked from commit becdfb11a5b13bc773729236763e99e513806451) --- diff --git a/lisp/org/ox-publish.el b/lisp/org/ox-publish.el index ab59d3d8fec..e2ad49ccd73 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)