|
From: | Pierre Gaston |
Subject: | Re: edit-and-execute-command (C-xC-e) doesn't use FCEDIT env variable |
Date: | Sun, 24 Aug 2008 09:46:21 +0300 (EEST) |
User-agent: | Alpine 1.00 (BSO 882 2007-12-20) |
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))
[Prev in Thread] | Current Thread | [Next in Thread] |