From ea83dd8c2c4cfca11af8cf6224ca55dd4b4946e7 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sat, 4 Aug 2012 00:30:15 +0200 Subject: Show unread count in mode-line * avandu.el (avandu-new-articles-count): Only show a message in the echo area if it has been called interactively in any way. (avandu-overview-mode): Set MODE-NAME to the format of "Avandu:Overview[#]" where `#' is replaced by the number of unread articles. --- doc/avandu.texinfo | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'doc/avandu.texinfo') diff --git a/doc/avandu.texinfo b/doc/avandu.texinfo index dd0bc09..8d12586 100644 --- a/doc/avandu.texinfo +++ b/doc/avandu.texinfo @@ -221,8 +221,15 @@ Apart from viewing unread articles there are a number of other things that can be done. @deffn Command avandu-new-articles-count -Shows the total number of unread articles in Tiny Tiny RSS in the echo -area. +Ask Tiny Tiny RSS for the total number of unread articles. If this +function is called interactively in any way it shows a message en the +echo area like: + +@example +There are # unread articles +@end example + +and it returns the number of unread articles as a string. @end deffn @deffn Command avandu-logged-in-p -- cgit v1.2.3-54-g00ecf