diff options
Diffstat (limited to 'ymh-emacs/ymh-common.el')
-rw-r--r-- | ymh-emacs/ymh-common.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ymh-emacs/ymh-common.el b/ymh-emacs/ymh-common.el index 3786016..09ebe08 100644 --- a/ymh-emacs/ymh-common.el +++ b/ymh-emacs/ymh-common.el @@ -45,9 +45,10 @@ (defun ymh/electric-space () (interactive) - (if (looking-back (sentence-end)) - (insert "%\n") - (self-insert-command 1))) + (let ((sentence-end-double-space nil)) + (if (looking-back (sentence-end)) + (insert "\n") + (self-insert-command 1)))) ;;; Stefan Monnier: It is the opposite of fill-paragraph. |