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.
This commit is contained in:
parent
2550c6e404
commit
8db39aebe8
2 changed files with 12 additions and 5 deletions
|
@ -1,3 +1,10 @@
|
|||
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."
|
||||
|
|
Loading…
Add table
Reference in a new issue