projects
/
elisp
/
wanderlust.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b7f19a2
)
* elmo-util.el (elmo-cache-expire): Completion require match "age" or "size".
author
kaoru
<kaoru>
Sat, 7 Feb 2004 13:44:59 +0000
(13:44 +0000)
committer
kaoru
<kaoru>
Sat, 7 Feb 2004 13:44:59 +0000
(13:44 +0000)
elmo/ChangeLog
patch
|
blob
|
history
elmo/elmo-util.el
patch
|
blob
|
history
diff --git
a/elmo/ChangeLog
b/elmo/ChangeLog
index
fe6a321
..
97b9cc7
100644
(file)
--- a/
elmo/ChangeLog
+++ b/
elmo/ChangeLog
@@
-1,3
+1,8
@@
+2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
+
+ * elmo-util.el (elmo-cache-expire): Completion require match "age"
+ or "size".
+
2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* elmo-util.el (elmo-get-hash-val): Check symbol is bound if
diff --git
a/elmo/elmo-util.el
b/elmo/elmo-util.el
index
3cb5140
..
f07b296
100644
(file)
--- a/
elmo/elmo-util.el
+++ b/
elmo/elmo-util.el
@@
-1761,9
+1761,10
@@
associated with SECTION."
(method (completing-read (format "Expire by (%s): "
elmo-cache-expire-default-method)
'(("size" . "size")
(method (completing-read (format "Expire by (%s): "
elmo-cache-expire-default-method)
'(("size" . "size")
- ("age" . "age")))))
- (if (string= method "")
- (setq method elmo-cache-expire-default-method))
+ ("age" . "age"))
+ nil t)))
+ (when (string= method "")
+ (setq method elmo-cache-expire-default-method))
(funcall (intern (concat "elmo-cache-expire-by-" method)))))
(defun elmo-read-float-value-from-minibuffer (prompt &optional initial)
(funcall (intern (concat "elmo-cache-expire-by-" method)))))
(defun elmo-read-float-value-from-minibuffer (prompt &optional initial)