On Thu, Mar 3, 2011 at 1:12 AM, Andreas Röhler < andreas.roehler@easy-emacs.de> wrote: > > Hi, > > `byte-compile-file' sends a warning > > `save-excursion' defeated by `set-buffer' > Either the compiler warning or the manual is wrong ( http://www.gnu.org/software/emacs/elisp/html_node/Current-Buffer.html): Therefore, you should normally use set-buffer within a save-current-buffer or *save-excursion* (see Excursions) form that will restore the current buffer when your function is done. Here, as an example, is a simplified version of the command append-to-buffer: -- Le