optional argument `separators'.
+2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * elmo-util.el (elmo-collect-separators-internal): Add 2nd
+ optional argument `separators'.
+
2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* elmo.el (cache-changed): Abolish.
(and result
(char-list-to-string (elmo-uniq-list result #'delq))))))
-(defun elmo-collect-separators-internal (specs)
- (let (separators)
- (while specs
- (let ((spec (car specs)))
- (cond
- ((listp spec)
- (setq separators (nconc (elmo-collect-separators-internal spec)
- separators)
- specs (cdr specs)))
- ((characterp spec)
- (setq separators (cons spec separators)
- specs nil))
- (t
- (setq specs nil)))))
- separators))
+(defun elmo-collect-separators-internal (specs &optional separators)
+ (while specs
+ (let ((spec (car specs)))
+ (cond
+ ((listp spec)
+ (setq separators (elmo-collect-separators-internal spec separators)
+ specs (cdr specs)))
+ ((characterp spec)
+ (setq separators (cons spec separators)
+ specs nil))
+ (t
+ (setq specs nil)))))
+ separators)
(defun elmo-collect-trail-separators (element specs)
(cond