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

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

RE: [External] : Re: Spaces rather than tabs by a major mode hook


From: Drew Adams
Subject: RE: [External] : Re: Spaces rather than tabs by a major mode hook
Date: Sat, 11 Jun 2022 14:53:37 +0000

> How do I tweak the indentation of emacs-lisp-mode?
> 
> I could use
> 
> (setq damn-truth
>   "He was such a straight shooter")
> 
> instead of
> 
> (setq damn-truth
>       "He was such a straightshooter.")
> 
> by default?

(put 'setq 'lisp-indent-function 'defun)
(setq damn-truth
  "He's hardly a straight shooter.")

See `C-h f' for `lisp-indent-function' and
`common-lisp-indent-function'.



reply via email to

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