Commits

Anonymous committed 165c12e

do not untabify makefile buffers

Comments (0)

Files changed (1)

files/defuns-buffer.el

 Does not indent buffer, because it is used for a before-save-hook, and that
 might be bad."
   (interactive)
-  (untabify-buffer)
+  (unless (memq major-mode '(makefile-gmake-mode))
+    (untabify-buffer))
   (delete-trailing-whitespace)
   (set-buffer-file-coding-system 'utf-8))