[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to make emacs start in a given mode ?
From: |
Deniz Dogan |
Subject: |
Re: how to make emacs start in a given mode ? |
Date: |
Wed, 9 Jun 2010 09:18:53 +0200 |
2010/6/9 hkm <hkmsama@gmail.com>:
> 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?
>
> Thank you.
>
>
> Keming
Sure, just modify initial-major-mode, e.g.:
(setq initial-major-mode 'python-mode)
--
Deniz Dogan