(mime-display-entity): Don't move to (point-max) before run
authormorioka <morioka>
Thu, 20 May 1999 10:24:32 +0000 (10:24 +0000)
committermorioka <morioka>
Thu, 20 May 1999 10:24:32 +0000 (10:24 +0000)
`mime-display-header-hook)'.

mime-view.el

index 51938b7..086bd16 100644 (file)
@@ -768,9 +768,9 @@ MEDIA-TYPE must be (TYPE . SUBTYPE), TYPE or t.  t means default."
          (mime-insert-header entity
                              mime-view-ignored-field-list
                              mime-view-visible-field-list))
-       (goto-char (point-max))
        (run-hooks 'mime-display-header-hook)
        (put-text-property nhb (point-max) 'mime-view-entity-header entity)
+       (goto-char (point-max))
        (insert "\n")
        )
       (setq nbb (point))