[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bad regexp in auto-save-file-name-transforms
From: |
Stefan Monnier |
Subject: |
Re: bad regexp in auto-save-file-name-transforms |
Date: |
28 May 2004 17:10:58 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> But a visual inspection shows that you only edited the regexp in one
> file. You've left it unchanged in lisp/startup.el. I don't
Duh! Should be fixed now.
> understand why we have the same value defined in 2 different files,
> but I found that I had to change it in both places to get the change
> to work for me.
The "reason" is that the variable is created/initialized before the
dump step of Emacs's build process, so its initial value does not take into
account the fact that temporary-file-directory might be different when
we actually run Emacs. So we reset the value at each Emacs startup.
There's probably a better way to do that, but several variables go through
the same routine, because we haven't found such a better way yet.
Stefan