# HG changeset patch # User Chong Yidong # Date 1202950823 0 # Node ID e452f8656da6c8c5ffce7a4c7147fa5d7438242d # Parent 16c762b4c605d0eee4decfad7349911202a4e115 (org-publish-timestamp-filename): Replace colon characters in filename too. diff -r 16c762b4c605 -r e452f8656da6 lisp/textmodes/org-publish.el --- a/lisp/textmodes/org-publish.el Thu Feb 14 00:59:58 2008 +0000 +++ b/lisp/textmodes/org-publish.el Thu Feb 14 01:00:23 2008 +0000 @@ -294,7 +294,7 @@ (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"))