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

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

Re: save-current-buffer


From: Chris F.A. Johnson
Subject: Re: save-current-buffer
Date: Sun, 19 Oct 2008 02:57:44 +0000
User-agent: slrn/0.9.8.1 (Linux)

On 2008-10-18, B. T. Raven wrote:
> Andreas Politz wrote:
>> 
>> 
>> Is this a bug, or am I missing something ?
>> Eval this in *scratch* buffer and you end up in the *Help* one.
>> 
>> (save-current-buffer
>>   (switch-to-buffer "*Help*"))
>> 
>> 
>> GNU Emacs 22.2.1
>> 
>> 
>> -ap
>
> That's what you would expect. If you don't have an Emacs generated 
> read-only *Help* buffer open then you will create an editable one with 
> that name. Why does it seem like a bug? Of course the file *Help* can't 
> be saved because the file name is illegal.

   It is? That's news to me. In fact, I just created a buffer named
   *Help* and saved it.

-- 
   Chris F.A. Johnson, webmaster         <http://Woodbine-Gerrard.com>
   ===================================================================
   Author:
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)


reply via email to

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