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

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

Re: beginner el form


From: Thien-Thi Nguyen
Subject: Re: beginner el form
Date: Mon, 04 Apr 2005 10:04:54 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Adam <nospam@example.com> writes:

> I was just looking for a file that would switch into
> that mode when loaded.  And thought that could be
> done by an entry in the top few lines.

create a file ~/tmp/play (for example) w/ the contents:

  ;;; -*-lisp-interaction-*-

then kill that buffer and C-x C-f the file normally.
it should be in lisp interaction mode.

see also: local variables, major modes, variable
`auto-mode-alist', command `eval-expression'.

thi


reply via email to

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