Commit b84d2329 authored by David Byers's avatar David Byers
Browse files

Fixed bug 623.

Detailed changes:
> 	Fix bug 623:
> 	* commands2.el (kom-set-unread): Delete conf-stat from cache
> 	before prompting. Fixed error handling.
>
> 	Better handling of minibuffer reading:
parent 2da67aeb
2003-08-15 David Byers <byers@lysator.liu.se>
Fix bug 623:
* commands2.el (kom-set-unread): Delete conf-stat from cache
before prompting. Fixed error handling.
Better handling of minibuffer reading:
* completing-read.el (lyskom-read-conf): Don't call
lyskom-with-lyskom-minibuffer since it's integrated in
lyskom-completing-read now.
......
......@@ -789,13 +789,14 @@ send. If DONTSHOW is non-nil, don't display the sent message."
"Set number of unread articles in current conference."
(interactive "P")
(setq conf-no (or conf-no lyskom-current-conf))
(when conf-no (cache-del-conf-stat conf-no))
(if (or (null conf-no) (zerop conf-no))
(progn
(lyskom-insert-string 'not-present-anywhere)
(lyskom-insert-string "\n"))
(let ((conf-stat (blocking-do 'get-conf-stat conf-no)))
(if (null conf-stat) ;+++ annan errorhantering
(lyskom-insert "Error!\n") ;+++ Hrrrmmmmffff????
(if (null conf-stat)
(lyskom-insert 'somebody-deleted-that-conf)
(let* ((narg (prefix-numeric-value arg))
(n (if (and arg
(<= 0 narg)
......
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