Attached patch fixes a typo and also removes trailing white spaces. The white spaces were removed due to adding a hook to remove them as shown here: (defun kimr-before-save-hook () "Delete trailing white spaces only in a few modes." (when (eq major-mode 'org-mode) (delete-trailing-whitespace))) (add-hook 'before-save-hook 'kimr-before-save-hook) Please let me know if trailing white spaces should not be removed in general so that I will omit such changes in future patches. Thanks.