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

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

Re: package that writes *Messages* to a file


From: Reiner Steib
Subject: Re: package that writes *Messages* to a file
Date: Thu, 27 Oct 2005 09:28:07 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

On Thu, Oct 27 2005, Bastien wrote:

>   (save-window-excursion
>     (switch-to-buffer "*Messages*")

,----[ <f1> f switch-to-buffer RET ]
| switch-to-buffer is an interactive Lisp function.
| It is bound to C-c b b.
| (switch-to-buffer buffer &optional norecord)
| 
| [...]
| WARNING: This is NOT the way to work on another buffer temporarily
| within a Lisp program!  Use `set-buffer' instead.  That avoids messing with
| the window-buffer correspondences.
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


reply via email to

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