|
From: | Emanuel Berg |
Subject: | Re: How to get a file name with a warning like this |
Date: | Sat, 29 Aug 2020 04:02:41 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Harry Putnam wrote: > Warning (bytecomp): Use ‘with-current-buffer’ .... > rather than save-excursion+set-buffer [...] > > How can I make the warning message tell me which > file[s] it is finding the problem code in? Seem like a tough problem ... but ... wait! I just got a moment of inspiration! What about using `with-current-buffer' rather than `save-excursion' and `set-buffer' ??? -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |