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

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

Re: comments in customise variables


From: Pascal J. Bourguignon
Subject: Re: comments in customise variables
Date: Wed, 08 Dec 2010 15:08:35 -0000
User-agent: Gnus/5.101 (Gnus v5.10.10) Emacs/23.1 (gnu/linux)

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:

> Hi everyone,
>
> Is it possible to insert comments in the (custom-set-variables...)
> block? Every time I customise a new variable and save it, all my old
> comments disappear. I have tried commenting like this,
>
> ;; comments
> '(some-var value)
>
> '(some-var value) ; comments
>
> Neither of them survive after customising a new variable. Any thoughts?

Put the comment outside of the custom-set-variables form.

(custom-set-variables
  ...
  '(some-var value)
  ...)

;; ...
;; some-var: comment
;; ...


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/


reply via email to

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