[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to make emacs start in a given mode ?
From: |
mandar.mitra |
Subject: |
Re: how to make emacs start in a given mode ? |
Date: |
Wed, 08 Dec 2010 15:12:35 -0000 |
User-agent: |
G2/1.0 |
On Jun 9, 5:48 am, hkm <hkms...@gmail.com> wrote:
> Does anyone know how to start emacs in a given mode?
>
> Actually I use matlab-shell in emacs. Everytime I have to start emacs
> first,
> and then I can enter matlab-shell mode.
> Is there a way to make emacs enter matlab-shell mode automatically when
> type some command in the terminal?
I have this in my .emacs.el:
(setq default-major-mode 'text-mode)
because I like scratch / new buffers to be text mode by default
(rather than Fundamental). You could try something similar with matlab-
shell mode.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: how to make emacs start in a given mode ?,
mandar.mitra <=