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

From: Kevin Rodgers <[email-masked]>
Date: Tue, 02 Mar 2010 23:05:37 -0700

[email-masked] wrote:

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

-- 
Kevin Rodgers
Denver, Colorado, USA