diff options
-rw-r--r-- | lisp/init-editing.el | 2 | ||||
-rw-r--r-- | lisp/init-general.el | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lisp/init-editing.el b/lisp/init-editing.el index a633e63..9462cf4 100644 --- a/lisp/init-editing.el +++ b/lisp/init-editing.el @@ -131,7 +131,7 @@ and '<<<' mark the bounds of the narrowed region. (defun km/cleanup-buffer () (interactive) (unless km/prevent-cleanup - (unless (equal major-mode 'makefile-gmake-mode) + (unless indent-tabs-mode (untabify (point-min) (point-max))) (delete-trailing-whitespace) (set-buffer-file-coding-system 'utf-8))) diff --git a/lisp/init-general.el b/lisp/init-general.el index 65a37f8..1a67905 100644 --- a/lisp/init-general.el +++ b/lisp/init-general.el @@ -12,7 +12,8 @@ browse-url-browser-function 'browse-url-generic browse-url-generic-program "firefox") -(setq-default indicate-empty-lines t) +(setq-default indicate-empty-lines t + indent-tabs-mode nil) (show-paren-mode t) |