bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Eli Zaretskii
Subject: bug#55862: Removing indent-tabs-mode set to t by default
Date: Thu, 09 Jun 2022 18:53:39 +0300

> Date: Thu, 09 Jun 2022 13:34:52 +0000
> From: goncholden <goncholden@protonmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, 55862@debbugs.gnu.org
> 
> > 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.)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]