summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-09-25 13:15:14 -0500
committerCase Duckworth2021-09-25 13:15:14 -0500
commitbf1f5d1adff8b6b7da34ad7b33aa66fbe66434a5 (patch)
treeb2ff1f08b07e508c336f152d1d1fc03de4b07e90
parentSet default major mode when visiting a non-file buffer (diff)
downloademacs-bf1f5d1adff8b6b7da34ad7b33aa66fbe66434a5.tar.gz
emacs-bf1f5d1adff8b6b7da34ad7b33aa66fbe66434a5.zip
Advise cycle-spacing
-rw-r--r--init.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/init.el b/init.el index 1d1ca39..3c0d2e7 100644 --- a/init.el +++ b/init.el
@@ -1006,7 +1006,11 @@ specific to most general, they are these:
1006 tab-width 4 1006 tab-width 4
1007 backward-delete-char-untabify-method 'hungry) 1007 backward-delete-char-untabify-method 'hungry)
1008 1008
1009 (:global "M-SPC" #'cycle-spacing)) 1009 (:global "M-SPC" #'cycle-spacing)
1010 ;; http://ruzkuku.com/emacs.d.html#orgc62eb58
1011 (:advise cycle-spacing :around
1012 (defun cycle-spacing@newlines-by-default (old arg &rest _)
1013 (funcall old (if (numberp arg) (- arg) arg)))))
1010 1014
1011(setup windmove 1015(setup windmove
1012 (:option windmove-wrap-around t) 1016 (:option windmove-wrap-around t)