Patch c-d cmd in c++-mode