diff options
author | Jim Meyering <meyering@redhat.com> | 2009-06-14 14:21:02 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-08-25 09:21:00 +0200 |
commit | 899c1d00fa19864a97e554f9baa62332807529ee (patch) | |
tree | 5f1fc26d3c139600688927c1afe3074efdc33a8a | |
parent | e2808a3999233c7186ee349278dbff5a046250db (diff) | |
download | coreutils-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.
-rw-r--r-- | cfg.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |