[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file-name-shadow-mode
From: |
Luc Teirlinck |
Subject: |
Re: file-name-shadow-mode |
Date: |
Sun, 20 Mar 2005 10:02:24 -0600 (CST) |
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.
- Re: file-name-shadow-mode, (continued)
- Re: file-name-shadow-mode, Stefan Monnier, 2005/03/18
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/18
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/18
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/18
- Re: file-name-shadow-mode, Richard Stallman, 2005/03/18
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/19
- Re: file-name-shadow-mode, David Kastrup, 2005/03/19
- Re: file-name-shadow-mode, Stefan Monnier, 2005/03/19
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/19
- Re: file-name-shadow-mode, Stefan Monnier, 2005/03/20
- Re: file-name-shadow-mode,
Luc Teirlinck <=
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/20
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/19
- Re: file-name-shadow-mode, Miles Bader, 2005/03/19
- Re: file-name-shadow-mode, David Kastrup, 2005/03/19
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/20
- Re: file-name-shadow-mode, David Kastrup, 2005/03/20
- Re: file-name-shadow-mode, Richard Stallman, 2005/03/20
- Re: file-name-shadow-mode, Richard Stallman, 2005/03/20
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/20
- Re: file-name-shadow-mode, David Kastrup, 2005/03/20