]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove Emacs 23 compat code from ox-publish.el
authorStefan Kangas <stefankangas@gmail.com>
Fri, 28 Feb 2025 02:02:15 +0000 (03:02 +0100)
committerEshel Yaron <me@eshelyaron.com>
Fri, 28 Feb 2025 11:20:25 +0000 (12:20 +0100)
* lisp/org/ox-publish.el (org-publish-timestamp-filename): Remove
Emacs 23 compat code.

(cherry picked from commit becdfb11a5b13bc773729236763e99e513806451)

lisp/org/ox-publish.el

index ab59d3d8feca62fa96d5c6a0bc5c5198e6b42240..e2ad49ccd73e139721372de34474587c26bedf71 100644 (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)