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

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

Re: wrong type error in local variables


From: Emanuel Berg
Subject: Re: wrong type error in local variables
Date: Thu, 02 Jul 2020 19:45:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Douglas Lewan wrote:

>>> `find-file` should not be called from Elisp.
>>> Use `find-file-noselect` instead.
>>
>> Oups, if so I have 15 changes to make.
>>
>> Why doesn't the byte compiler say this?
>
> Or even the docstring? Lots of docstrings mention
> such things.

... and the more the better!

Well, the ideal would be that everything could be
used from everywhere.

Put a `cond' in `find-file' and branch to
`find-file-noselect' if called from Lisp :)

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

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