Stefan Monnier wrote: This is because if the minor mode's code needs to be run to properly set the value, you can't run it safely before the whole file is loaded (since the minor mode's code might call functions defined further down in the file).
That is not really different from any other defcustom with a :set function: you have to define all functions used by the :set function before the defcustom. Sometimes these functions themselves refer to the defcustomed variable. Then you have to do: (defvar var) defun's (defcustom var... to avoid compiler warnings. Note that if you do (defvar foo (bar ...)), then bar has to be defined before foo too. I do not see where the problem is. Sincerely, Luc. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel