help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what can I do with regexp match?


From: Stefan Monnier
Subject: Re: what can I do with regexp match?
Date: Sat, 09 Jun 2007 18:01:54 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

> See the documentation for `find-file', and maybe use
> `save-window-excursion'.

Please not save-window-excursion.  If you don't want to change windows, then
just don't change them: saving&restoring them is asking for trouble.

`find-file' is an interactive function.  You should basically *never* call
it from elisp.  Always use find-file-noselect instead.


        Stefan


reply via email to

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