emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Sorting in custom-set-variables doesn't work for minor modes


From: Stefan Monnier
Subject: Re: Sorting in custom-set-variables doesn't work for minor modes
Date: Tue, 09 Aug 2005 21:01:40 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

> A possible solution is given in the patch below. It uses the same reasoning
> as used in the patch for autoload.el by Stefan Monnier: test for
> custom-set-minor-mode as setter function.

The patch looks good, except that it should probably not only place custom
vars at the end if they have a custom-set-minor-mode setter but also (as
before) if they have a :require.  This should hopefully better preserve
backward compatibility, e.g. for minor modes which do not use
define-minor-mode/custom-set-minor-mode.

> By the way, I think that easy-mmode.el can be simplified by removing the
> defintion of and reference to curfile, since its value seems irrelevant
> after the June 26 patch.

Good point as well.
Thank you very much.


        Stefan




reply via email to

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