X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/4988a192dab00d86203bd44995b53284abfa1474..c57d201781ba63549ff5d9c6e759beabaef18988:/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 402c867..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 @@ ---- mutt-1.5.11.orig/init.c -+++ mutt-1.5.11/init.c -@@ -2920,7 +2920,7 @@ +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 +@@ -3115,7 +3115,7 @@ { p = getenv ("EDITOR"); if (!p) @@ -9,14 +12,14 @@ } Editor = safe_strdup (p); Visual = safe_strdup (p); ---- mutt-1.5.11.orig/init.h -+++ mutt-1.5.11/init.h -@@ -547,7 +547,7 @@ +--- a/init.h ++++ b/init.h +@@ -686,7 +686,7 @@ ** .pp ** This variable specifies which editor is used by mutt. - ** It defaults to the value of the VISUAL, or EDITOR, environment -- ** variable, or to the string "vi" if neither of those are set. -+ ** variable, or to the string "/usr/bin/editor" if neither of those are set. + ** It defaults to the value of the \fC$$$VISUAL\fP, or \fC$$$EDITOR\fP, environment +- ** variable, or to the string ``vi'' if neither of those are set. ++ ** variable, or to the string ``/usr/bin/editor'' if neither of those are set. */ { "encode_from", DT_BOOL, R_NONE, OPTENCODEFROM, 0 }, /*