Make f use 'sudo $editor' as sudo editor if 'sudoeditor' is not available.