]> git.eshelyaron.com Git - emacs.git/commitdiff
(org-publish-timestamp-filename): Replace colon characters in filename too.
authorChong Yidong <cyd@stupidchicken.com>
Thu, 14 Feb 2008 01:00:23 +0000 (01:00 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 14 Feb 2008 01:00:23 +0000 (01:00 +0000)
lisp/textmodes/org-publish.el

index 0a8e9019827e6d416ee9527cd3b40fb0c5b93e6b..2b0777638c5e1732148b3dcff6eb98b0959df939 100644 (file)
@@ -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"))