summary refs log tree commit diff stats
path: root/lisp/+emacs.el
diff options
context:
space:
mode:
authorCase Duckworth2022-10-18 12:08:21 -0500
committerCase Duckworth2022-10-18 12:08:21 -0500
commite5c025158ef6e383aa892ef88e63a2a32de3d7fb (patch)
tree6b4d99fe810791f273330f56b5686cff8e53bb56 /lisp/+emacs.el
parentAutoload magit (diff)
downloademacs-e5c025158ef6e383aa892ef88e63a2a32de3d7fb.tar.gz
emacs-e5c025158ef6e383aa892ef88e63a2a32de3d7fb.zip
Add a bunch of other stuff or whatever
Diffstat (limited to 'lisp/+emacs.el')
-rw-r--r--lisp/+emacs.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/+emacs.el b/lisp/+emacs.el index 6f37b83..6f40cf0 100644 --- a/lisp/+emacs.el +++ b/lisp/+emacs.el
@@ -301,8 +301,8 @@ ARG is passed to `backward-kill-word'."
301(defun +yank@indent (&rest _) 301(defun +yank@indent (&rest _)
302 "Indent the current region." 302 "Indent the current region."
303 (indent-region (min (point) (mark)) (max (point) (mark)))) 303 (indent-region (min (point) (mark)) (max (point) (mark))))
304(advice-add #'yank :after #'+yank@indent) 304;; (advice-add #'yank :after #'+yank@indent)
305(advice-add #'yank-pop :after #'+yank@indent) 305;; (advice-add #'yank-pop :after #'+yank@indent)
306 306
307 307
308;;; Extra functions 308;;; Extra functions