Commit 64a465b2 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen Committed by Katsumi Yamaoka
Browse files

Merge changes made in Gnus trunk.

message.el (message-auto-save-directory): If the ~/Mail directory doesn't exist, use ~ as the auto-save directory (bug#4432).
gnus-group.el (gnus-group-read-ephemeral-group): Start Gnus if it hasn't already been started.
parent b5641435
2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
* message.el (message-auto-save-directory): If the ~/Mail directory
doesn't exist, use ~ as the auto-save directory (bug#4432).
* gnus-group.el (gnus-group-read-ephemeral-group): Start Gnus if it
hasn't already been started.
2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
 
* gnus.el (debbugs-gnu): Renamed from debbugs-emacs.
......
......@@ -2282,6 +2282,8 @@ Return the name of the group if selection was successful."
(gnus-group-completing-read)
(gnus-read-method "From method")))
;; Transform the select method into a unique server.
(unless (gnus-alive-p)
(gnus-no-server))
(when (stringp method)
(setq method (gnus-server-to-method method)))
(setq method
......
......@@ -1310,7 +1310,9 @@ text and it replaces `self-insert-command' with the other command, e.g.
:type '(repeat function))
(defcustom message-auto-save-directory
(file-name-as-directory (expand-file-name "drafts" message-directory))
(if (file-exists-p message-directory)
(file-name-as-directory (expand-file-name "drafts" message-directory))
"~/")
"*Directory where Message auto-saves buffers if Gnus isn't running.
If nil, Message won't auto-save."
:group 'message-buffers
......
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