Browse files

ethan-wspace is no longer global.

  • Loading branch information...
1 parent 7307bd7 commit 5252778f3d54ef3ce5a54d9b0d0a7b5633fbbe6b Arvid Jakobsson committed Dec 8, 2010
Showing with 2 additions and 3 deletions.
  1. +2 −3 arvid-wspace.el
@@ -5,7 +5,7 @@
(set-default 'ws-trim-level 0)
(setq ws-trim-method-hook '(ws-trim-trailing ws-trim-leading-spaces))
;; Turn off ws-trim in message-mode and eshell-mode
-(setq ws-trim-global-modes '(guess (not message-mode eshell-mode)))
+(setq ws-trim-global-modes '(guess (not message-mode eshell-mode ruby-mode)))
;; Ethan-wspace keeps track of whether a file is "clean" (free of trailing
;; whitespace and tabs) when you open it, and will automatically
@@ -14,7 +14,6 @@
;; clean, and will leave alone any files that were
;; dirty (i.e. someone else didn't follow the rules).
(require 'ethan-wspace)
-(set-default 'ethan-wspace-errors (remove 'tabs ethan-wspace-errors))
-(global-ethan-wspace-mode 1)
+(global-ethan-wspace-mode nil)
(provide 'arvid-wspace)

0 comments on commit 5252778

Please sign in to comment.