C- and C++-mode tweaks