unintern is unbound.
* wl-folder.el (wl-folder-clear-entity-info): Use
elmo-clear-hash-val.
* wl-fldmgr.el (wl-fldmgr-rename): Set
wl-folder-info-alist-modified as t.
+2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
+ unintern is unbound.
+
2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
* elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
file (nth 2 condition) number number-list)))))
(defmacro elmo-get-hash-val (string hashtable)
- `(symbol-value (intern-soft ,string ,hashtable)))
+ (static-if (fboundp 'unintern)
+ `(symbol-value (intern-soft ,string ,hashtable))
+ `(let ((sym (intern-soft ,string ,hashtable)))
+ (and (boundp sym)
+ (symbol-value sym)))))
(defmacro elmo-set-hash-val (string value hashtable)
`(set (intern ,string ,hashtable) ,value))
+2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * wl-folder.el (wl-folder-clear-entity-info): Use
+ elmo-clear-hash-val.
+
+ * wl-fldmgr.el (wl-fldmgr-rename): Set
+ wl-folder-info-alist-modified as t.
+
2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
* wl-fldmgr.el (wl-fldmgr-unsubscribe): Avoid compile warning.
new-folder
(wl-folder-get-entity-info old-folder))
(wl-folder-clear-entity-info old-folder)
+ (setq wl-folder-info-alist-modified t)
(if (eq (cdr (nth 2 tmp)) 'access)
;; force update access group
(and sym (boundp sym)))))
(defmacro wl-folder-clear-entity-info (entity &optional hashtb)
- (` (let ((sym (intern-soft (, entity)
- (or (, hashtb) wl-folder-entity-hashtb))))
- (if (boundp sym)
- (makunbound sym)))))
+ (` (elmo-clear-hash-val (, entity) (or (, hashtb) wl-folder-entity-hashtb))))
(defmacro wl-folder-get-entity-info (entity &optional hashtb)
(` (elmo-get-hash-val (, entity) (or (, hashtb) wl-folder-entity-hashtb))))