(defun rc/enable-word-wrap () (interactive) (toggle-word-wrap 1)) (add-hook 'markdown-mode-hook 'rc/enable-word-wrap)