General refactor & cleanup

This commit is contained in:
Henrik Lissner 2018-02-14 07:42:22 -05:00
parent bac73ec938
commit 6c4e048c23
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
9 changed files with 26 additions and 21 deletions

View file

@ -7,7 +7,8 @@
(def-setting! :rotate (modes &rest plist)
"Declare :symbols, :words or :patterns that `rotate-text' will cycle through."
"Declare :symbols, :words or :patterns (all lists of strings) that
`rotate-text' will cycle through."
(declare (indent 1))
(let* ((modes (doom-enlist (doom-unquote modes)))
(fn-name (intern (format "doom--rotate-%s" (mapconcat #'symbol-name modes "-")))))