Permalink
Browse files

fix turn-off-tabs mode

  • Loading branch information...
1 parent c11e96b commit 586a9695cbbd8bbbeae2df9071aa4c6420f4f6e4 @langmartin committed Jul 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 hooks.el
View
@@ -1,7 +1,7 @@
(defmacro prog0 (&rest body) nil)
-(defun turn-on-tabs () (interactive) (setq indent-tabs-mode 1))
-(defun turn-off-tabs () (interactive) (setq indent-tabs-mode -1))
+(defun turn-on-tabs () (interactive) (setq indent-tabs-mode t))
+(defun turn-off-tabs () (interactive) (setq indent-tabs-mode nil))
(defun set-tab-width-2 () (interactive) (setq tab-width 2) (setq c-basic-offset 2))
(defun set-tab-width-4 () (interactive) (setq tab-width 4) (setq c-basic-offset 4))

0 comments on commit 586a969

Please sign in to comment.