Add def-rotate! for rotate-text

This commit is contained in:
Henrik Lissner 2016-05-01 01:06:25 -04:00
parent 25c9b90000
commit fe88ff70ff
2 changed files with 25 additions and 11 deletions

View file

@ -263,17 +263,7 @@ enable multiple minor modes for the same regexp.")
(use-package rotate-text
:commands (rotate-text rotate-text-backward)
:init
(add-hook! (emacs-lisp-mode lisp-mode)
(setq rotate-text-local-symbols
'(("t" "nil")
("let" "let*")
("when" "unless")
("append" "prepend")
("advice-add" "advice-remove")
("add-hook" "add-hook!" "remove-hook"))))
:config
(push '("true" "false") rotate-text-words))
:config (push '("true" "false") rotate-text-words))
(use-package smart-forward :commands (smart-up smart-down smart-left smart-right))