+2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
+ `tokens' to `params'.
+
2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* elmo-split.el (elmo-split-subr): Disable multibyte characters of
(setq alist (cdr alist)))
spec))
-(defun elmo-net-folder-set-parameters (folder tokens &optional defaults)
- (let ((port (cdr (assq 'port tokens)))
- (stream-type (cdr (assq 'stream-type tokens))))
+(defun elmo-net-folder-set-parameters (folder params &optional defaults)
+ (let ((port (cdr (assq 'port params)))
+ (stream-type (cdr (assq 'stream-type params))))
;; server
(elmo-net-folder-set-server-internal
folder
- (or (cdr (assq 'server tokens))
+ (or (cdr (assq 'server params))
(plist-get defaults :server)))
;; port
(elmo-net-folder-set-port-internal
;; stream-type
(elmo-net-folder-set-stream-type-internal
folder
- (or (and stream-type (assoc (concat "!" stream-type)
- elmo-network-stream-type-alist))
+ (or (and stream-type
+ (assoc (concat "!" stream-type) elmo-network-stream-type-alist))
(plist-get defaults :stream-type)))))
(luna-define-method elmo-folder-initialize ((folder elmo-net-folder) name)