Commit 8db39aeb authored by Glenn Morris's avatar Glenn Morris

mairix.el fix for bug#13294

* lisp/net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
Remove unnecessary/buggy autoloads (missing interactive). 
(rmail-summary-displayed, rmail-summary): Declare.
(mairix-rmail-display): Just require rmail.
parent 2550c6e4
2012-12-30 Glenn Morris <rgm@gnu.org>
* net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
(rmail-summary-displayed, rmail-summary): Declare.
(mairix-rmail-display): Just require rmail.
2012-12-29 Chong Yidong <cyd@gnu.org>
* emacs-lisp/package.el (package-untar-buffer): Improve integrity
......
......@@ -222,14 +222,12 @@ Currently there are 'threads and 'flags.")
;;; RMail
;; Display function:
(autoload 'rmail "rmail")
(autoload 'rmail-summary-displayed "rmail")
(autoload 'rmail-summary "rmailsum")
(defvar rmail-buffer)
(declare-function rmail-summary-displayed "rmail" ())
(declare-function rmail-summary "rmailsum" ()) ; autoloaded in rmail
(defun mairix-rmail-display (folder)
"Display mbox file FOLDER with RMail."
(require 'rmail)
(let (show-summary)
;; If it exists, select existing RMail window
(when (and (boundp 'rmail-buffer)
......@@ -249,6 +247,8 @@ Currently there are 'threads and 'flags.")
(when show-summary
(rmail-summary))))
(defvar rmail-buffer)
;; Fetching mail header field:
(defun mairix-rmail-fetch-field (field)
"Get mail header FIELD for current message using RMail."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment