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

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

Re: Hitting <Ret> at beginning of comment line of .el files


From: Emanuel Berg
Subject: Re: Hitting <Ret> at beginning of comment line of .el files
Date: Thu, 08 Oct 2020 23:04:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Christopher Dimech wrote:

> When I hit <Ret> at beginning of a comment line in
> an elisp file I get the line shifted by five tabs.
> Why does this happen. I am thinking of disabling
> this thing. How can I disable such behaviour.

Sounds like an auto-indentation thing.

Use _two_ semi-colons (;;) for all-comment lines, e.g.

;; now the interesting stuff begins...

but

(+ 1 3 3 7) ; addition is addictive

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

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