summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/Cask1
-rw-r--r--tag-emacs/emacs.d/init.el5
2 files changed, 4 insertions, 2 deletions
diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask
index 26e8bae5..4edb855f 100644
--- a/tag-emacs/emacs.d/Cask
+++ b/tag-emacs/emacs.d/Cask
@@ -81,4 +81,5 @@
 (depends-on "visual-regexp")
 (depends-on "web-mode")
 (depends-on "wgrep-pt")
+(depends-on "ws-butler")
 (depends-on "yaml-mode")
\ No newline at end of file
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 04c5f594..49b6e8c1 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -255,8 +255,6 @@
 (setq-default buffer-file-coding-system 'utf-8-auto-unix)
 (global-auto-revert-mode 1)
 
-(add-hook 'before-save-hook #'delete-trailing-whitespace)
-
 (defun rename-current-buffer-file ()
   "Renames current buffer and file it is visiting."
   (interactive)
@@ -288,6 +286,9 @@
         (kill-buffer buffer)
         (message "File '%s' successfully removed" filename)))))
 
+(req-package ws-butler
+  :config (ws-butler-global-mode 1))
+
 (req-package recentf
   :init (progn (setq recentf-auto-cleanup 'never
                      recentf-save-file (expand-file-name "recentf" user-emacs-directory))