diff --git a/ha-config.org b/ha-config.org index 755397e..9e25afe 100644 --- a/ha-config.org +++ b/ha-config.org @@ -227,7 +227,8 @@ When I push changes to my files to Gerrit and other code review, I don’t want "Cleanup a file, often done before a file save." (interactive) (ignore-errors - (untabify (point-min) (point-max)) + (unless (equal major-mode 'makefile-bsdmake-mode) + (untabify (point-min) (point-max))) (delete-trailing-whitespace))) (add-hook 'before-save-hook #'ha-cleanup-buffer-file)