diff options
author | Vincent Ambo <tazjin@google.com> | 2019-12-17T12·33+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-12-17T12·33+0000 |
commit | caf23a9e2a6c0ad67058f469ec7cd4e5be0694a6 (patch) | |
tree | bdd793d78aed551e7f0f463039e27ff6c91ac29c /tools/emacs/config | |
parent | 940a9c580cd40b59afc743afc1265bfdc208453c (diff) |
chore(emacs.d): Clean up unused functions r/177
Diffstat (limited to 'tools/emacs/config')
-rw-r--r-- | tools/emacs/config/functions.el | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/tools/emacs/config/functions.el b/tools/emacs/config/functions.el index 6024ce34cb83..4c8aa162cf0b 100644 --- a/tools/emacs/config/functions.el +++ b/tools/emacs/config/functions.el @@ -15,22 +15,6 @@ (goto-line target))) (setq-local display-line-numbers nil))) -(defun untabify-buffer () - (interactive) - (untabify (point-min) (point-max))) - -(defun indent-buffer () - (interactive) - (indent-region (point-min) (point-max))) - -(defun cleanup-buffer () - "Perform a bunch of operations on the whitespace content of a buffer. -Including indent-buffer, which should not be called automatically on save." - (interactive) - (untabify-buffer) - (delete-trailing-whitespace) - (indent-buffer)) - ;; These come from the emacs starter kit (defun esk-add-watchwords () @@ -175,13 +159,6 @@ Including indent-buffer, which should not be called automatically on save." (last-window (car (seq-intersection right-windows bottom-windows)))) (eq (current-buffer) (window-buffer last-window)))) -(defun inferior-erlang-nix-shell () - "Start an inferior Erlang process from the root of the current - project." - (interactive) - (inferior-erlang - (format "nix-shell --command erl %s" (cdr (project-current))))) - (defhydra mc/mark-more-hydra (:color pink) ("<up>" mmlte--up "Mark previous like this") ("<down>" mc/mmlte--down "Mark next like this") |