According to indent-tabs-mode
,
Indentation can insert tabs if this is non-nil.
nil
means indentation cannot use tabs. I need the opposite of this option, prevent indentation from using spaces as tabs.
I need this to match a formatting convention (eclipse) where tabs are mandatory.
What is the simplest way to achieve this? I'm using plain java-mode
, whose tab is bound to (c-indent-line-or-region &optional ARG REGION)
, which seems to use (symbol-function 'indent-according-to-mode)
, which eventually uses c-shift-line-indentation
, but I don't see any options to configure using tabs only. Am I looking in the wrong place?