From 899c1d00fa19864a97e554f9baa62332807529ee Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 14 Jun 2009 14:21:02 +0200 Subject: [PATCH] maint: ensure we don't embed Emacs indent-tabs-mode setting lines Now that we prohibit indentation via TABs, there's no need for Emacs indent-tabs-mode setting lines, so prohibit those, too. * cfg.mk (sc_prohibit_emacs__indent_tabs_mode__setting): New rule. --- cfg.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cfg.mk b/cfg.mk index b63e76b7e8..57f211b854 100644 --- a/cfg.mk +++ b/cfg.mk @@ -212,4 +212,10 @@ sc_prohibit_tab_based_indentation: msg='TAB in indentation; use only spaces' \ $(_prohibit_regexp) +# Don't use "indent-tabs-mode: nil" anymore. No longer needed. +sc_prohibit_emacs__indent_tabs_mode__setting: + @re='^( *[*#] *)?indent-tabs-mode:' \ + msg='use of emacs indent-tabs-mode: setting' \ + $(_prohibit_regexp) + include $(srcdir)/dist-check.mk -- 2.47.3