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

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

[h-e-w] Re: Reading info files


From: Stephen Powell
Subject: [h-e-w] Re: Reading info files
Date: Wed, 05 Jun 2002 18:02:40 +1000
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3 (i386-mingw-nt5.0.2195) Hamster/1.3.23.150

>>>>> "Jeff" == Jeff Rancier <address@hidden> writes:

[...]

    > How do I kick off info?

M-x info <return>
 or
C-h i


M-x apropos <return> info <return>

will tell you, among other things:

info                                              C-h i
  Command: Enter Info, the documentation browser.

[...]

    > I tried something like:

    > (setq auto-mode-alist (cons '("\\.info$"   . info-mode)
    >   auto-mode-alist))

You need an append as you are adding to an existing list. eg from my ~/.emacs:

(setq auto-mode-alist
      (append
       (list (cons "\\.[bB][tT][mM]$" 'bat-generic-mode) ; 4nt
                         (cons "\\.[aA][sS][pP]$" 'html-mode)
                         )
       auto-mode-alist))


M-x describe-variable <return> auto-mode-alist <return>
 or
C-h v auto-mode-alist <return>

will show you the value of the variable auto-mode-alist.

[...]

-- 
Stephen Powell
address@hidden





reply via email to

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