Add emacs to 'funced -e'

The order is also changed.
This commit is contained in:
maxfl 2012-06-28 07:56:49 +08:00 committed by ridiculousfish
parent 85f19f9b8c
commit 792e246262

View file

@ -9,7 +9,7 @@ function funced --description 'Edit function definition'
end
if not type -f "$external" >/dev/null
for e in edit nano pico joe mcedit vim vi
for e in edit emacs vim joe mcedit nano pico vi
if type -f $e >/dev/null
set external $e
break