jcsalomon/smarttabs — pull request #15 by baby-gnu (2012-11-18 22:19:13+00:00)
Title: Define an utility function to enable smarttabs for popular languages

Several languages use names in the form "-indent-line" and
"-indent-level".

If a language use these "standard" names, they are used if the language
mode is loaded.

* smart-tabs-mode.el (smart-tabs-mode-map): Alist of language name and
their code to enable smarttabs.
(smart-tabs-insinuate): Enable smarttabs for a list of languages or if
we can guess indent function and indent level.
(smart-tabs-guess-insinuate): Use standard indent function and indent
level names.
(smart-tabs-get-standard-language): Build a list of standard names for
hook, indent function and indent level.