changeset 91824:e452f8656da6

(org-publish-timestamp-filename): Replace colon characters in filename too.
author Chong Yidong <cyd@stupidchicken.com>
date Thu, 14 Feb 2008 01:00:23 +0000
parents 16c762b4c605
children 755365e1602a
files lisp/textmodes/org-publish.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"))