about summary refs log tree commit diff stats
path: root/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d')
-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)