Function: dirvish--attrs-expand
dirvish--attrs-expand is a natively compiled function defined in
dirvish.el.
Signature
(dirvish--attrs-expand ATTRS)
Documentation
Expand ATTRS from dirvish--available-attrs.
Source Code
;; Defined in /nix/store/1gijwny2yx4fggrsb9l110h1ybs1gdk5-emacs-packages-deps/share/emacs/site-lisp/elpa/dirvish-20260725.1520/dirvish.el
(defun dirvish--attrs-expand (attrs)
"Expand ATTRS from `dirvish--available-attrs'."
(cl-pushnew 'hl-line attrs) (cl-pushnew 'symlink-target attrs)
(sort (cl-loop for attr in attrs
for lst = (alist-get attr dirvish--available-attrs)
for (wd wd-r pred setup render _) = lst
collect (list attr (eval wd) (eval wd-r) pred setup render))
(lambda (a b) (< (cl-position (car a) attrs) (cl-position (car b) attrs)))))