diff options
author | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2010-10-18 23:41:03 +0000 |
---|---|---|
committer | Katsumi Yamaoka <yamaoka@jpl.org> | 2010-10-18 23:41:03 +0000 |
commit | 2755ee7829a3966cc73dccccd2c97e7d53f9050f (patch) | |
tree | d5c6e4f32918338fe5993f0874e569eabb7f0e8f /lisp/gnus/gnus-agent.el | |
parent | 7cad71ad21f4ee07ff4652c9e39ebf4510e0216b (diff) | |
download | emacs-2755ee7829a3966cc73dccccd2c97e7d53f9050f.tar.gz |
message.el (message-get-reply-headers): If we're fed `to-address', then always use that.
gnus-agent.el (gnus-agent-toggle-plugged): Use the right minor mode name in the mode line spec so that the mode line menu works (bug #2431).
Diffstat (limited to 'lisp/gnus/gnus-agent.el')
-rw-r--r-- | lisp/gnus/gnus-agent.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/gnus/gnus-agent.el b/lisp/gnus/gnus-agent.el index 04bdb3be626..7fdd5b4ea76 100644 --- a/lisp/gnus/gnus-agent.el +++ b/lisp/gnus/gnus-agent.el @@ -513,8 +513,8 @@ manipulated as follows: ;; Set up the menu. (when (gnus-visual-p 'agent-menu 'menu) (funcall (intern (format "gnus-agent-%s-make-menu-bar" buffer)))) - (unless (assq 'gnus-agent-mode minor-mode-alist) - (push gnus-agent-mode-status minor-mode-alist)) + (unless (assq mode minor-mode-alist) + (push (cons mode (cdr gnus-agent-mode-status)) minor-mode-alist)) (unless (assq mode minor-mode-map-alist) (push (cons mode (symbol-value (intern (format "gnus-agent-%s-mode-map" buffer)))) |