|
From: | Douglas Lewan |
Subject: | Re: wrong type error in local variables |
Date: | Thu, 2 Jul 2020 13:04:57 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 7/2/20 11:56 AM, Stefan Monnier wrote:
Joost Kremers gave a good answer. I'll just add some "unrelated" comments: - `find-file` should not be called from Elisp. Use `find-file-noselect` instead. - It's OK to temporarily change to another buffer, but your "eval" should eventually return to the original buffer. Otherwise, do expect weird behaviors. IOW wrap a `save/with-current-buffer` around your code. Stefan
Done. Thanks. -- ,Doug d.lewan2000@gmail.com (908) 720 7908 If this is what winning looks like, I'd hate to see what losing is.
[Prev in Thread] | Current Thread | [Next in Thread] |