[emacs] Use c-mode-common-hook, derive from "gnu"
authorRamkumar Ramachandra <artagnon@gmail.com>
Thu, 22 Jan 2015 20:56:25 +0000 (20:56 +0000)
committerRamkumar Ramachandra <artagnon@gmail.com>
Thu, 22 Jan 2015 20:56:25 +0000 (20:56 +0000)
commit312beb174f2c10c2003a5ca89bf566063af76d61
treecb4e741879e1ab838ed4bd985f6c679ae33b19ad
parent953a3df779e3bb899d7745e33df43ddf1bacedb2
[emacs] Use c-mode-common-hook, derive from "gnu"

Make it clear that the "llvm.org" style is deriving from "gnu" style,
and use the c-mode-common-hook instead of c-mode-hook and c++-mode-hook.

Differential Revision: http://reviews.llvm.org/D7035

llvm-svn: 226861
llvm/utils/emacs/emacs.el