all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* comments in customise variables
@ 2010-05-17  7:12 Suvayu Ali
  0 siblings, 0 replies; 2+ messages in thread
From: Suvayu Ali @ 2010-05-17  7:12 UTC (permalink / raw
  To: Emacs mailing list

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?

-- 
Suvayu

Open source is the future. It sets us free.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: comments in customise variables
       [not found] <mailman.2.1274084291.7857.help-gnu-emacs@gnu.org>
@ 2010-05-17 11:05 ` Pascal J. Bourguignon
  0 siblings, 0 replies; 2+ messages in thread
From: Pascal J. Bourguignon @ 2010-05-17 11:05 UTC (permalink / raw
  To: help-gnu-emacs

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/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-17 11:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.2.1274084291.7857.help-gnu-emacs@gnu.org>
2010-05-17 11:05 ` comments in customise variables Pascal J. Bourguignon
2010-05-17  7:12 Suvayu Ali

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.