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

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

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


From: Juri Linkov
Subject: bug#5658: 23.1; Viewing .info files in Emacs' info-viewer
Date: Thu, 04 Mar 2010 23:18:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (x86_64-pc-linux-gnu)

> 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/







reply via email to

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