Small tweak in c-family-alternative-file error handling
This commit is contained in:
parent
d2e8bd2431
commit
dd9533e625
|
@ -141,13 +141,13 @@ def c-family-alternative-file -docstring "Jump to the alternate file (header/imp
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "'extension not recognized'"
|
echo "echo -color Error 'extension not recognized'"
|
||||||
exit
|
exit
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
if [ -f ${altname} ]; then
|
if [ -f ${altname} ]; then
|
||||||
echo edit "'${altname}'"
|
echo "edit '${altname}'"
|
||||||
else
|
else
|
||||||
echo echo "'alternative file not found'"
|
echo "echo -color Error 'alternative file not found'"
|
||||||
fi
|
fi
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user