summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-06-14 14:21:02 +0200
committerJim Meyering <meyering@redhat.com>2009-08-25 09:21:00 +0200
commit899c1d00fa19864a97e554f9baa62332807529ee (patch)
tree5f1fc26d3c139600688927c1afe3074efdc33a8a /cfg.mk
parente2808a3999233c7186ee349278dbff5a046250db (diff)
downloadcoreutils-899c1d00fa19864a97e554f9baa62332807529ee.tar.xz
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.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/cfg.mk b/cfg.mk
index b63e76b7e..57f211b85 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