[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: edit-and-execute-command (C-xC-e) doesn't use FCEDIT env variable
From: |
Francis Moreau |
Subject: |
Re: edit-and-execute-command (C-xC-e) doesn't use FCEDIT env variable |
Date: |
Mon, 25 Aug 2008 09:33:22 +0200 |
On Sun, Aug 24, 2008 at 8:46 AM, Pierre Gaston <pierre.gaston@gmail.com> wrote:
> On Sat, 23 Aug 2008, Francis Moreau wrote:
>
>> I think I won't use VISUAL but start emacs in sh-mode if the file name
>> argument matches "*bash-fc-*" pattern. It should be safe.
>>
>
> adding the following in your .emacs should do the trick: (add-to-list
> 'auto-mode-alist '("^/tmp/bash-fc" . sh-mode))
>
yep that's finally what I did.
--
Francis