projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Now deal with EDITOR from lua as well.
[apps/madmutt.git]
/
init.c
diff --git
a/init.c
b/init.c
index
93daf2d
..
163ad04
100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-2293,14
+2293,6
@@
void mutt_init (int skip_sys_rc, string_list_t * commands)
Tempdir = m_strdup((p = getenv ("TMPDIR")) ? p : "/tmp");
- p = getenv ("VISUAL");
- if (!p) {
- p = getenv ("EDITOR");
- if (!p)
- p = "vi";
- }
- Editor = m_strdup(p);
-
if ((p = getenv ("REPLYTO")) != NULL) {
BUFFER buf, token;