| Summary: | eshell should set EDITOR (at least, when needed) | ||
|---|---|---|---|
| Product: | Branch 4.1 | Reporter: | Ivan Zakharyaschev <imz> |
| Component: | emacs22-common | Assignee: | Eugene Vlasov <eugvv> |
| Status: | CLOSED NOTABUG | QA Contact: | qa-4.1 <qa-4.1> |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Hardware: | all | ||
| OS: | Linux | ||
|
Description
Ivan Zakharyaschev
2009-04-23 18:09:18 MSD
There is several ways to do that:
1. Set EDITOR variable in your session (or just run emacs as "EDITOR=emacsclient emacs").
2. Use something like
(add-hook 'eshell-mode-hook
'(lambda () (setenv "EDITOR" "emacsclient")))
in your init-file
3. Or use M-x shell (M-x term) (and set this variable in ~/.emacs_SHELLNAME).
|