adopt emacs-d-mode

Signed-off-by: Mattias Andrée <maandree@operamail.com>