mirror of
https://github.com/SqrtMinusOne/biome.git
synced 2025-12-10 14:35:13 +03:00
biome-grid: fix display for null variables
This commit is contained in:
parent
e31b7831da
commit
2be2e86e38
2 changed files with 4 additions and 0 deletions
|
|
@ -485,6 +485,7 @@ the API. UNIT is the unit of the column."
|
||||||
(mapcar
|
(mapcar
|
||||||
(lambda (entry)
|
(lambda (entry)
|
||||||
(cond
|
(cond
|
||||||
|
((or (equal entry "")) entry)
|
||||||
((eq (car-safe format-def) 'gradient)
|
((eq (car-safe format-def) 'gradient)
|
||||||
(biome-grid--format-gradient entry (cdr format-def) col-width))
|
(biome-grid--format-gradient entry (cdr format-def) col-width))
|
||||||
((numberp entry) (format (format "%%%ds" col-width) entry))
|
((numberp entry) (format (format "%%%ds" col-width) entry))
|
||||||
|
|
|
||||||
|
|
@ -735,6 +735,9 @@ exclude from the result."
|
||||||
for subkey = (seq-take key i)
|
for subkey = (seq-take key i)
|
||||||
for dupe-names = (gethash subkey names-by-key)
|
for dupe-names = (gethash subkey names-by-key)
|
||||||
when dupe-names append dupe-names)))))
|
when dupe-names append dupe-names)))))
|
||||||
|
;; XXX I don't have the slighest idea why, but renaming the
|
||||||
|
;; variable `key-1' into `key' makes the byte-compiler complain
|
||||||
|
;; about `key' being unused. Hope that's not a Heisenbug.
|
||||||
(cl-loop
|
(cl-loop
|
||||||
for name in names-to-update
|
for name in names-to-update
|
||||||
for old-key = (gethash name keys-by-name)
|
for old-key = (gethash name keys-by-name)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue