[notmuch] [PATCH 2/4] emacs: Connect two hunk of citations if only blank separated

Kan-Ru Chen kanru at kanru.info
Sun Dec 13 21:41:33 PST 2009


Also eats extra blanks between citations and content, which may not be
desired behavior.

Signed-off-by: Kan-Ru Chen <kanru at kanru.info>
---
 notmuch.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/notmuch.el b/notmuch.el
index 5823094..1722474 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -603,7 +603,7 @@ which this thread was originally shown."
       (move-to-column depth)
       (if (looking-at citation)
 	  (progn
-	    (while (looking-at citation)
+	    (while (looking-at (concat citation "\\|^$"))
 	      (forward-line)
 	      (move-to-column depth))
 	    (end-of-line 0)
-- 
1.6.5.5



More information about the notmuch mailing list