Subject: Re: bug#55862: Removing indent-tabs-mode set to t by default

From: Eli Zaretskii <[email-masked]>
Date: Thu, 09 Jun 2022 18:53:39 +0300

> Date: Thu, 09 Jun 2022 13:34:52 +0000
> From: goncholden <[email-masked]>
> Cc: Eli Zaretskii <[email-masked]>, [email-masked]
> 
> > You have to put the setting into the major mode hook where you're
> > interested in setting it.
> 
> Fantastic!  Could you show me how I can do that exactly?

Something like this:

 (defun my-FOO-stuff ()
   (setq indent-tabs-mode nil)
 (add-hook 'FOO-mode-hook 'my-FOO-stuff)

(Replace "FOO" with the actual mode name.)