about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-editor.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-10-05 16:39:41 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-10-05 16:39:41 +0100
commitd72c8b5cc78977287f489bef2a4d700f6b071101 (patch)
treeeefd95b5cbe430189ae2a2aa4fd4738d9d57e35e /.emacs.d/lisp/init-editor.el
parentb47430d46cfed1a9e128ccc684b5a570db2bca62 (diff)
downloaddotfiles-d72c8b5cc78977287f489bef2a4d700f6b071101.tar.gz
Remove tabify config (covered by crux)
Diffstat (limited to '.emacs.d/lisp/init-editor.el')
-rw-r--r--.emacs.d/lisp/init-editor.el13
1 files changed, 0 insertions, 13 deletions
diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el
index e810d5a..611638a 100644
--- a/.emacs.d/lisp/init-editor.el
+++ b/.emacs.d/lisp/init-editor.el
@@ -134,19 +134,6 @@
   (prog-mode . abbrev-mode)
   (cider-repl-mode . abbrev-mode))
 
-(use-package tabify
-  :ensure nil
-  :config
-  (defmacro with-region-or-buffer (func)
-    "When called with no active region, call FUNC on current buffer."
-    `(defadvice ,func (before with-region-or-buffer activate compile)
-       (interactive
-        (if mark-active
-            (list (region-beginning) (region-end))
-          (list (point-min) (point-max))))))
-  (with-region-or-buffer indent-region)
-  (with-region-or-buffer untabify))
-
 (use-package subword
   :diminish)