`liece-buffer-dispose-function' instead of burying buffer.
* liece-vars.el (liece-buffer-dispose-function): New variable.
+2000-09-11 Daiki Ueno <ueno@unixuser.org>
+
+ * liece.el (liece-clear-system): Call
+ `liece-buffer-dispose-function' instead of burying buffer.
+
+ * liece-vars.el (liece-buffer-dispose-function): New variable.
+
2000-09-10 Daiki Ueno <ueno@unixuser.org>
* liece-inlines.el (string-list-remove-ignore-case): Remove car of the element.
(define-obsolete-variable-alias 'liece-checkbuffer-interval
'liece-buffer-check-interval))
+(defcustom liece-buffer-dispose-function (function bury-buffer)
+ "Function called after the buffer was disposed of."
+ :type 'function
+ :group 'liece-vars)
+
(defcustom liece-private-window-height 4
"How tall is the window for private messages when shown."
:type 'integer
(interactive)
(dolist (buffer liece-buffer-list)
(when (and (get-buffer buffer) (buffer-live-p buffer))
- (bury-buffer buffer)))
+ (funcall liece-buffer-dispose-function buffer)))
(if (vectorp liece-obarray)
(dotimes (i liece-obarray-size)
(aset liece-obarray i nil)))