emacs c and magit tweaks

Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>