emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master e73b0d6: Implement unprettification of symbol a


From: Tassilo Horn
Subject: Re: [Emacs-diffs] master e73b0d6: Implement unprettification of symbol at point
Date: Thu, 01 Oct 2015 16:30:28 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> +(defcustom prettify-symbols-unprettify-at-point t
>
> Not sure how representative I am, but at least this user here much
> prefers a setting of nil.

Which is the default now after Mark Oteiza also complained. :-)

>> +  :type 'boolean
>> +  :group 'prog-mode)
>
> The :group arg is redundant.

Oh, indeed, I've just read:

,----[ (info "(elisp)Variable Definitions") ]
|      If a ‘defcustom’ does not specify any ‘:group’, the last group
|      defined with ‘defgroup’ in the same file will be used.  This way,
|      most ‘defcustom’ do not need an explicit ‘:group’.
`----

Is that new?  Looking at other files, I can hardly find any occurrence
of a `defcustom' without :group.  Even `prog-mode-hook' which
immediately follows the group definition for prog-mode has it.

Bye,
Tassilo



reply via email to

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