emacs-devel
[Top][All Lists]
Advanced

[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: Fri, 15 Jun 2007 04:48:09 -0400

      Finally, I knew it's in type-break, and then I knew
    the problem is caused by `find-file-noselect' which is put on
    `post-command-hook' and changes the match data.

I think it is a bug to expect the match data to be preserved across
`post-command-hook'.  Which code expects that?  We should fix that
code to protect itself.

However, I think `find-file-noselect' may as well call `save-match-data'
for the sake of other places it may be used.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]