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

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

Re: save-current-buffer


From: B. T. Raven
Subject: Re: save-current-buffer
Date: Sat, 18 Oct 2008 18:12:35 -0500
User-agent: Thunderbird 2.0.0.17 (Windows/20080914)

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.

Ed


reply via email to

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