Subject: Re: bug#5658: 23.1; Viewing .info files in Emacs' info-viewer

From: Juri Linkov <[email-masked]>
Date: Thu, 04 Mar 2010 23:18:48 +0200

> That doesn't work either: even if the file is editable,
> the buffer is read-only.
>
> It should be something like:
>
> (lambda ()
>   (let ((Info-enable-edit buffer-read-only))
>     (Info-on-current-buffer)
>     (when Info-enable-edit
>       (Info-edit))))

Definitely not.  `Info-edit' is not recommended to use according
to the docstring of `Info-enable-edit'. It is disabled by default.
Your code overrides its default value.

-- 
Juri Linkov
http://www.jurta.org/emacs/