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: Wed, 03 Mar 2010 21:30:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (x86_64-pc-linux-gnu)

>> when visiting .info files in Emacs via find-file Emacs opens the file in the
>> default major-mode instead of Emacs' info-mode. I suggest therefore to add 
>> the
>> following default-association:
>>
>>  (add-to-list 'auto-mode-alist '("\\.info\\'" . info))
>
> The value of major-mode in an Info buffer is Info-mode:
>
> (add-to-list 'auto-mode-alist '("\\.info\\'" . Info-mode))

This doesn't work too.  It seems `Info-on-current-buffer' was created
exactly for the purpose to be associated with .info in auto-mode-alist.
It is not used anywhere else.

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







reply via email to

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