Fix broken line-up and line-down in emacs 24.3

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