changed options default-list

This commit is contained in:
frese 2003-04-25 18:59:56 +00:00
parent fd46b53447
commit dcbf6b7bbb
1 changed files with 8 additions and 3 deletions

View File

@ -78,10 +78,15 @@
(type-alist (map (lambda (s)
(cons (first s) (second s)))
spec))
; (default-alist (map (lambda (s)
; (let ((op (assq (first s) options)))
; (if op op
; (cons (first s) (third s)))))
; spec)))
;; TODO: options from config and the spec should form the
;; defaults (but not those from layout).
(default-alist (map (lambda (s)
(let ((op (assq (first s) options)))
(if op op
(cons (first s) (third s)))))
(cons (first s) (third s)))
spec)))
(for-each (lambda (name.option name.type)
(allocate-option dpy colormap (car name.option)