Skip to content

Commit

Permalink
Fix empty listings
Browse files Browse the repository at this point in the history
We need to use seq-drop to preserve vectors.
  • Loading branch information
Silex committed Nov 10, 2023
1 parent 3cd379b commit a1854bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-utils.el
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ defcustom (e.g. `docker-image-columns`) used to apply any custom format function
(data-index (+ it-index 1)))
(when fmt-fn (aset data data-index (apply fmt-fn (list (aref data data-index)))))))

(list (aref data 0) (-drop 1 data)))
(list (aref data 0) (seq-drop data 1)))
(json-readtable-error
(error "Could not read following string as json:\n%s" line))))

Expand Down

0 comments on commit a1854bd

Please sign in to comment.