editor/rotate-text: conform to hook conventions

And add it<->xit and describe<->xdescribe rotate-text patterns (for
buttercup tests).
This commit is contained in:
Henrik Lissner 2019-07-24 22:13:19 +02:00
parent e0fe2a85d1
commit 017aa6a9f7
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 4 additions and 2 deletions

View file

@ -10,7 +10,7 @@
`rotate-text' will cycle through."
(declare (indent defun))
(dolist (mode (doom-enlist modes))
(let ((fn-name (intern (format "+rotate-text|init-%s" mode))))
(let ((fn-name (intern (format "+rotate-text-init-%s-h" mode))))
(fset fn-name
(lambda ()
(setq-local rotate-text-local-symbols symbols)