[gnus git] branch master updated: m0-7-11-gfb979a6 =1= gnus-vm.el: Make it loadable without VM
Katsumi Yamaoka <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via fb979a6cd71021111bacc9e4bacfce7637c07506 (commit)
from cae8ffc46d8446accf3c5d10ded0bc5c845da474 (commit)
- Log -----------------------------------------------------------------
commit fb979a6cd71021111bacc9e4bacfce7637c07506
Author: Glenn Morris <[email protected]>
Date: Sun May 12 11:46:03 2013 +0000
gnus-vm.el: Make it loadable without VM
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4b3b8bb..9df871a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2013-05-11 Glenn Morris <[email protected]>
+
+ * gnus-vm.el: Make it loadable without VM.
+ (gnus-vm-make-folder, gnus-summary-save-in-vm): Require 'vm.
+ (vm-forward-message, vm-reply, vm-mail): Remove unused autoloads.
+
2013-05-09 Glenn Morris <[email protected]>
* mml1991.el: Make it loadable. (Bug#13456)
diff --git a/lisp/gnus-vm.el b/lisp/gnus-vm.el
index fa39bae..55f9965 100644
--- a/lisp/gnus-vm.el
+++ b/lisp/gnus-vm.el
@@ -35,12 +35,10 @@
(require 'gnus-msg)
(eval-when-compile
- (require 'cl)
- (autoload 'vm-mode "vm")
- (autoload 'vm-save-message "vm")
- (autoload 'vm-forward-message "vm")
- (autoload 'vm-reply "vm")
- (autoload 'vm-mail "vm"))
+ (require 'cl))
+
+(autoload 'vm-mode "vm")
+(autoload 'vm-save-message "vm")
(defvar gnus-vm-inhibit-window-system nil
"Inhibit loading `win-vm' if using a window-system.
@@ -51,10 +49,8 @@ Has to be set before gnus-vm is loaded.")
(when window-system
(require 'win-vm))))
-(when (not (featurep 'vm))
- (load "vm"))
-
(defun gnus-vm-make-folder (&optional buffer)
+ (require 'vm)
(let ((article (or buffer (current-buffer)))
(tmp-folder (generate-new-buffer " *tmp-folder*"))
(start (point-min))
@@ -87,6 +83,7 @@ save those articles instead."
(defun gnus-summary-save-in-vm (&optional folder)
(interactive)
+ (require 'vm)
(setq folder
(gnus-read-save-file-name
"Save %s in VM folder:" folder
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 6 ++++++
lisp/gnus-vm.el | 15 ++++++---------
2 files changed, 12 insertions(+), 9 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project