From: Chong Yidong Date: Thu, 14 Feb 2008 01:00:23 +0000 (+0000) Subject: (org-publish-timestamp-filename): Replace colon characters in filename too. X-Git-Tag: emacs-pretest-23.0.90~7961 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bebb740e117f36730f723346cf8b53ca5fb0178c;p=emacs.git (org-publish-timestamp-filename): Replace colon characters in filename too. --- 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"))