[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: find-file-noselect needs save-match-data
From: |
Richard Stallman |
Subject: |
Re: find-file-noselect needs save-match-data |
Date: |
Tue, 05 Jun 2007 18:32:49 -0400 |
`save-match-data' is not cheap. I suppose it's not advisable to
automatically wrap every hook into it.
Not every hook. On the other hand, find-file is slow, so a little
extra slowness in find-file is not a problem.
I think that `find-file-noselect' and `file-truename' should not change
match-data regardless of whether they run in a hook or not
I agree, expecially for `file-truename'.
Functions that just manipulate file names ought to be made easy
to call without worries.