X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/16ab2f99e95d8ad7fe3298848a15f7f6247c4844..90ca98902668310adea2bd544a61a3d6c9c12f1c:/debian/patches/debian-specific/use_usr_bin_editor.diff diff --git a/debian/patches/debian-specific/use_usr_bin_editor.diff b/debian/patches/debian-specific/use_usr_bin_editor.diff index 13baea5..5c51a58 100644 --- a/debian/patches/debian-specific/use_usr_bin_editor.diff +++ b/debian/patches/debian-specific/use_usr_bin_editor.diff @@ -1,6 +1,9 @@ +Even if EDITOR is not set, mutt will always use /usr/bin/editor (which +is set by update-alternatives), rather than falling back to vi + --- a/init.c +++ b/init.c -@@ -3114,7 +3114,7 @@ void mutt_init (int skip_sys_rc, LIST *c +@@ -3115,7 +3115,7 @@ { p = getenv ("EDITOR"); if (!p) @@ -11,7 +14,7 @@ Visual = safe_strdup (p); --- a/init.h +++ b/init.h -@@ -589,7 +589,7 @@ struct option_t MuttVars[] = { +@@ -686,7 +686,7 @@ ** .pp ** This variable specifies which editor is used by mutt. ** It defaults to the value of the \fC$$$VISUAL\fP, or \fC$$$EDITOR\fP, environment