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: martin rudalics
Subject: Re: find-file-noselect needs save-match-data
Date: Wed, 06 Jun 2007 08:58:37 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> I don't understand.  In this case, `find-file-noselect' uses regexps,
> and is placed on `post-command-hook' indirectly (I don't know whether
> `post-command-hook' is sensitive).

Every hook is sensitive.

> Following your opinion, I conclude that it's type-break's
> responsibility to know `find-file-noselect' uses regexps and so it
> should use `save-match-data' when placing it to `post-command-hook'.
> While the name `find-file-noselect' does not indicate it uses regexps,
> and so does its document, it is more or less not appropriate of this
> conclusion to me.

In any case we fill the stack with unneeded match-data.





reply via email to

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