[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: re-loading an elisp file
From: |
Drew Adams |
Subject: |
RE: re-loading an elisp file |
Date: |
Sat, 5 Mar 2011 07:54:41 -0800 |
> Is there a way, when reloading an elisp file, to have it examine (and
> reload new) values of variables? It's weird that this isn't done with
> "eval-current-buffer" or "load ..." and others.
Sounds like you are discovering that `defvar' does not assign a variable a value
if it already has one. This is a feature.
`setq' and `setq-default' do, however.
But in general an Elisp library should not act this way, by design. A personal
init file is another story - there you might want to use `setq' and
`setq-default' in some cases.
- re-loading an elisp file, ken, 2011/03/05
- RE: re-loading an elisp file,
Drew Adams <=
- Re: re-loading an elisp file, ken, 2011/03/05
- RE: re-loading an elisp file, Drew Adams, 2011/03/05
- RE: re-loading an elisp file, Drew Adams, 2011/03/05
- Re: re-loading an elisp file, ken, 2011/03/05
- Re: re-loading an elisp file, PJ Weisberg, 2011/03/05
- Message not available
- Re: re-loading an elisp file, David Combs, 2011/03/24
- RE: re-loading an elisp file, Drew Adams, 2011/03/24
- Message not available
- Re: re-loading an elisp file, David Combs, 2011/03/24
- RE: re-loading an elisp file, Drew Adams, 2011/03/24
Message not available