Skip to content

Commit

Permalink
epkg-list-columns: Fix custom type
Browse files Browse the repository at this point in the history
Closes #45.
  • Loading branch information
tarsius committed Jan 16, 2024
1 parent 3858c49 commit 7f7137e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lisp/epkg-list.el
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,18 @@ should be `epkg-list-sort-by-stars'."
(choice :tag "Sort predicate"
(const :tag "don't sort" nil)
(const :tag "default" t)
(function))
(repeat :tag "Properties"
(list (choice :tag "Property"
(const :right-align)
(const :pad-right)
(symbol))
(sexp :tag "Value")))
function)
(plist :tag "Properties"
:key-type (choice :tag "Property"
(const :right-align)
(const :pad-right)
(symbol))
:value-type (sexp :tag "Value"))
(choice :tag "Slot symbol" ,@epkg--custom-slot-choices)
(choice :tag "Format value"
(const :tag "as is" nil)
(const epkg-list-format-name)
(function)))))
function))))

(defcustom epkg-list-mode-hook '(hl-line-mode)
"Hook run after entering Epkg-List mode."
Expand Down

0 comments on commit 7f7137e

Please sign in to comment.