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: Emanuel Berg
Subject: Re: [External] : Re: Spaces rather than tabs by a major mode hook
Date: Sat, 11 Jun 2022 17:39:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Drew Adams wrote:

>> 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'.

Wow, thanks! Yes, works :)

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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