projects
/
riece
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed.
[riece]
/
lisp
/
riece-filter.el
diff --git
a/lisp/riece-filter.el
b/lisp/riece-filter.el
index
a19221a
..
f522c48
100644
(file)
--- a/
lisp/riece-filter.el
+++ b/
lisp/riece-filter.el
@@
-124,6
+124,8
@@
(throw 'contiguous nil)))))
(forward-line)))))
(throw 'contiguous nil)))))
(forward-line)))))
+(eval-when-compile
+ (autoload 'riece-exit "riece"))
(defun riece-sentinel (process status)
(if riece-reconnect-with-password
(let ((server-name
(defun riece-sentinel (process status)
(if riece-reconnect-with-password
(let ((server-name
@@
-154,7
+156,10
@@
(riece-part-channel (car channels)))
(setq channels (cdr channels))))
(riece-redisplay-buffers)
(riece-part-channel (car channels)))
(setq channels (cdr channels))))
(riece-redisplay-buffers)
- (riece-close-server-process process))))
+ (riece-close-server-process process)
+ ;; If no server process is available, exit.
+ (unless riece-server-process-alist
+ (riece-exit)))))
(provide 'riece-filter)
(provide 'riece-filter)