my-emacs-d/lisp/text-manip.el
Gergely Polonkai 5ef2a98858 Create function org-space-key and bind it to SPC in org-mode
All it does is inserting the space character twice after a period.
2016-10-21 23:04:24 +02:00

8 lines
225 B
EmacsLisp

(defun org-space-key (&optional arg)
"Insert two spaces after a period."
(interactive "p")
(when (looking-back "\\.")
(call-interactively 'self-insert-command arg))
(call-interactively 'self-insert-command arg))