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

David Edmondson dme at dme.org
Fri Jan 13 05:28:13 PST 2012


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



More information about the notmuch mailing list