New answers tagged

1

Suppose your major-mode is css-mode. You can place (setq-default css-indent-offset 2) into .emacs. Or you can set up per buffer, (defun my-setup-indent () (setq-local css-indent-offset 2)) (add-hook 'prog-mode-hook 'my-setup-indent)


Top 50 recent answers are included