Commit c8046801 authored by unknown's avatar unknown

Added support for sensible-editor from Debian, instead of emacs.

parent b6eaf8cb
...@@ -132,7 +132,13 @@ if test -z "$VISUAL" ...@@ -132,7 +132,13 @@ if test -z "$VISUAL"
then then
if test -z "$EDITOR" if test -z "$EDITOR"
then then
# Honor debian sensible-editor
if test -x "/usr/bin/sensible-editor"
then
EDIT=/usr/bin/sensible-editor
else
EDIT=emacs EDIT=emacs
fi
else else
EDIT="$EDITOR" EDIT="$EDITOR"
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment