[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bind RET to command
From: |
Ralf Angeli |
Subject: |
Re: Bind RET to command |
Date: |
Fri, 22 Feb 2008 18:55:23 +0100 |
* Tassilo Horn (2008-02-21) writes:
> Florian Lindner <Florian.Lindner@xgm.de> writes:
>
>> How can I bind this to return but only in LaTeX mode (Auctex) and
>> python-mode.
>
> One way to do it is that:
>
> (add-hook 'LaTeX-mode-hook
> (lambda ()
> (local-set-key (kbd "RET") 'newline-and-indent)))
There is a much easier way. Just do
M-x customize-variable <RET> TeX-newline-function <RET>
--
Ralf
- Bind RET to command, Florian Lindner, 2008/02/21
- Re: Bind RET to command, Tassilo Horn, 2008/02/21
- Re: Bind RET to command, Michael Hoffman, 2008/02/21
- Message not available
- Re: Bind RET to command,
Ralf Angeli <=
- use-file-dialog, address@hidden, 2008/02/22
- Re: use-file-dialog, Bastien, 2008/02/22
- Re: use-file-dialog, Lennart Borgman (gmail), 2008/02/22
- Re: use-file-dialog, Bastien Guerry, 2008/02/22
- Re: use-file-dialog, Lennart Borgman (gmail), 2008/02/22
- Re: use-file-dialog, Reiner Steib, 2008/02/23
- Re: use-file-dialog, Kevin Rodgers, 2008/02/24