From bebb740e117f36730f723346cf8b53ca5fb0178c Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Thu, 14 Feb 2008 01:00:23 +0000 Subject: [PATCH] (org-publish-timestamp-filename): Replace colon characters in filename too. --- lisp/textmodes/org-publish.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/textmodes/org-publish.el b/lisp/textmodes/org-publish.el index 0a8e9019827..2b0777638c5 100644 --- a/lisp/textmodes/org-publish.el +++ b/lisp/textmodes/org-publish.el @@ -294,7 +294,7 @@ files." (defun org-publish-timestamp-filename (filename) "Return path to timestamp file for filename FILENAME." - (while (string-match "~\\|/" filename) + (while (string-match "~\\|/\\|:/" filename) (setq filename (replace-match "_" nil t filename))) (concat org-publish-timestamp-directory filename ".timestamp")) -- 2.39.5