(rmail-copy-headers): When copying full headers,
correctly put point at the end.
This commit is contained in:
parent
2017951613
commit
5a34da0465
1 changed files with 5 additions and 2 deletions
|
@ -2650,8 +2650,11 @@ buffer to the end of the headers."
|
|||
(prepend-to-buffer rmail-view-buffer beg (point-max))
|
||||
;; rmail-show-message-1 expects this function to leave point
|
||||
;; at the end of the headers.
|
||||
(with-current-buffer rmail-view-buffer
|
||||
(search-forward "\n\n" nil t)))
|
||||
|
||||
(let ((len (- (point-max) beg)))
|
||||
(with-current-buffer rmail-view-buffer
|
||||
(goto-char (1+ len)))))
|
||||
|
||||
;; Handle the case where the headers matching the displayed
|
||||
;; headers regexp should be copied.
|
||||
((and rmail-displayed-headers (null ignored-headers))
|
||||
|
|
Loading…
Add table
Reference in a new issue