]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch.el
instead of trying to cause a redisplay, actually do a redisplay
[notmuch] / notmuch.el
index 70dbe5ba7f6baaf8ebfec6cce86e1ea73234df1a..ef2a72a82e6f874a90a1836099db090817927624 100644 (file)
@@ -483,7 +483,8 @@ which this thread was originally shown."
             (remove-from-invisibility-spec invis-spec)
           (add-to-invisibility-spec invis-spec)
           ))
-  (goto-char (button-end cite-button)))
+  (force-window-update)
+  (redisplay t))
 
 (defun notmuch-show-markup-citations-region (beg end depth)
   (goto-char beg)
@@ -604,6 +605,8 @@ which this thread was originally shown."
        (indent-rigidly beg end depth)
        (overlay-put (make-overlay beg-hidden end)
                     'invisible 'notmuch-show-header)
+        (goto-char end)
+        (insert "\n")
        (set-marker beg nil)
        (set-marker beg-hidden nil)
        (set-marker end nil)