From 6678d835cc7dd4b03d0cfc3f1262a39bd02fb2df Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Mon, 12 Dec 2022 16:54:19 -0800 Subject: [PATCH] Fix a Makefile mode bug Since I remove tabs by default ... except in Makefiles, I need to covert all modes. --- ha-config.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ha-config.org b/ha-config.org index f139772..75fa48f 100644 --- a/ha-config.org +++ b/ha-config.org @@ -172,7 +172,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 - (unless (equal major-mode 'makefile-bsdmake-mode) + (unless (or (equal major-mode 'makefile-mode) + (equal major-mode 'makefile-bsdmake-mode)) (untabify (point-min) (point-max))) (delete-trailing-whitespace)))