[PATCH] Fix up (X)Emacs mode

Ville Skyttä ville.skytta at iki.fi
Sat May 27 03:14:45 PDT 2006


Well, not really a patch, but this:

  find . -name "*.cc" -o -name "*.h" \
  | xargs sed -i -e 's/mode: cpp/mode: c++/'

...fixes opening the *.cc and *.h files in the proper C++ mode in XEmacs
and doesn't break it with GNU Emacs or vim.




More information about the Apt-Rpm mailing list