forked from mirrors/org-mode
org-rmail.el: Use `rmail-widen' instead of `widen'
* org-rmail.el (org-rmail-follow-link): Use `rmail-widen' instead of `widen' and don't toggle header as `rmail-widen' already takes care of this. TINYCHANGE -- T.F. Torrey
This commit is contained in:
parent
1b042ea709
commit
a4e3ed9a2f
|
@ -101,9 +101,7 @@
|
|||
(rmail (if (string= folder "RMAIL") rmail-file-name folder))
|
||||
(setq message-number
|
||||
(save-restriction
|
||||
(widen)
|
||||
(when (eq rmail-header-style 'normal)
|
||||
(rmail-toggle-header -1))
|
||||
(rmail-widen)
|
||||
(goto-char (point-max))
|
||||
(if (re-search-backward
|
||||
(concat "^Message-ID:\\s-+" (regexp-quote
|
||||
|
|
Loading…
Reference in New Issue