Small tweak in c-family-alternative-file error handling

This commit is contained in:
Maxime Coste 2015-04-21 13:21:24 +01:00
parent d2e8bd2431
commit dd9533e625

View File

@ -141,13 +141,13 @@ def c-family-alternative-file -docstring "Jump to the alternate file (header/imp
done
;;
*)
echo "'extension not recognized'"
echo "echo -color Error 'extension not recognized'"
exit
;;
esac
if [ -f ${altname} ]; then
echo edit "'${altname}'"
echo "edit '${altname}'"
else
echo echo "'alternative file not found'"
echo "echo -color Error 'alternative file not found'"
fi
}}