]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch.el
emacs: Don't regard a manually indented '>' as introducing a citation.
[notmuch] / notmuch.el
index 9ec89ca0068ec2126e54d5a18c26300c265348b8..33e434f3ea68dff66a21e81957f066598df97290 100644 (file)
@@ -599,11 +599,13 @@ which this thread was originally shown."
   (while (< (point) end)
     (let ((beg-sub (point-marker))
          (indent (make-string depth ? ))
-         (citation "[[:space:]]*>"))
+         (citation ">"))
+      (move-to-column depth)
       (if (looking-at citation)
          (progn
            (while (looking-at citation)
-             (forward-line))
+             (forward-line)
+             (move-to-column depth))
            (let ((overlay (make-overlay beg-sub (point)))
                   (invis-spec (make-symbol "notmuch-citation-region")))
               (add-to-invisibility-spec invis-spec)