[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 25: Warning (bytecomp): Use ‘with-current-buffer’
From: |
Artur Malabarba |
Subject: |
Re: Emacs 25: Warning (bytecomp): Use ‘with-current-buffer’ |
Date: |
Sun, 22 Nov 2015 12:25:12 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Arash Esbati <address@hidden> writes:
> Warning (bytecomp): Use ‘with-current-buffer’ rather than
> save-excursion+set-buffer
>
> I don't get this warning with `emacs -Q &' or Emacs 24.5. Since the
> message is somewhat sparse, can somebody give me a hint how to search in
> my `.emacs' for the culprit?
You could try an `M-x rgrep' for `set-buffer'.
Keep in mind the warning could also be coming from a package inside
`.emacs.d/elpa', instead of your `.emacs'.