projects
/
elisp
/
gnus.git-
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a65ff2
)
(gnus): New advice. Always synchronize the modeline "Plugged" status
author
czkmt
<czkmt>
Wed, 8 Dec 1999 19:30:57 +0000
(19:30 +0000)
committer
czkmt
<czkmt>
Wed, 8 Dec 1999 19:30:57 +0000
(19:30 +0000)
display with the value of `gnus-plugged'.
lisp/gnus-agent.el
patch
|
blob
|
history
diff --git
a/lisp/gnus-agent.el
b/lisp/gnus-agent.el
index
889283f
..
c1eebb1
100644
(file)
--- a/
lisp/gnus-agent.el
+++ b/
lisp/gnus-agent.el
@@
-320,6
+320,10
@@
fetched will be limited to it. If not a positive integer, never consider it."
(setq gnus-plugged t)
(gnus))
+(defadvice gnus (after gnus-agent-advice activate preactivate)
+ "Update modeline."
+ (gnus-agent-toggle-plugged gnus-plugged))
+
;;;###autoload
(defun gnus-agentize ()
"Allow Gnus to be an offline newsreader.