changed options default-list
This commit is contained in:
parent
fd46b53447
commit
dcbf6b7bbb
|
@ -78,10 +78,15 @@
|
||||||
(type-alist (map (lambda (s)
|
(type-alist (map (lambda (s)
|
||||||
(cons (first s) (second s)))
|
(cons (first s) (second s)))
|
||||||
spec))
|
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)
|
(default-alist (map (lambda (s)
|
||||||
(let ((op (assq (first s) options)))
|
(cons (first s) (third s)))
|
||||||
(if op op
|
|
||||||
(cons (first s) (third s)))))
|
|
||||||
spec)))
|
spec)))
|
||||||
(for-each (lambda (name.option name.type)
|
(for-each (lambda (name.option name.type)
|
||||||
(allocate-option dpy colormap (car name.option)
|
(allocate-option dpy colormap (car name.option)
|
||||||
|
|
Loading…
Reference in New Issue