[PATCH 1/2] notmuch-dev: Remove more characters from branch names.

Subject: [PATCH 1/2] notmuch-dev: Remove more characters from branch names.

Date: Fri, 13 Jan 2012 13:28:13 +0000

To: notmuch@notmuchmail.org

Cc:

From: David Edmondson


Remove {, } and ,.
---
 emacs/notmuch-dev.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/emacs/notmuch-dev.el b/emacs/notmuch-dev.el
index 871ce3b..465846f 100644
--- a/emacs/notmuch-dev.el
+++ b/emacs/notmuch-dev.el
@@ -75,7 +75,7 @@
 (defun notmuch-dev-flatten-title (title)
   (let* ((s (downcase title))
 	 (s (replace-regexp-in-string "[ \t/]+" "-" s))
-	 (s (replace-regexp-in-string "[\]\[\":]" "" s))
+	 (s (replace-regexp-in-string "[\]\[\"{}:,]" "" s))
 	 (s (replace-regexp-in-string "\\.$" "" s))
 	 )
     s))
-- 
1.7.7.3


Thread: