aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/simple.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 3481a736648..d7541f68778 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -802,7 +802,7 @@ other words, it will work just like `just-one-space' command."
802 (unless (= start end) 802 (unless (= start end)
803 (cons orig-pos (buffer-substring start (point))))) 803 (cons orig-pos (buffer-substring start (point)))))
804 ;; If this run causes no change in buffer content, delete all spaces, 804 ;; If this run causes no change in buffer content, delete all spaces,
805 ;; otherwise delete all excees spaces. 805 ;; otherwise delete all excess spaces.
806 (delete-region (if (and (not single-shot) (zerop n) (= mid end)) 806 (delete-region (if (and (not single-shot) (zerop n) (= mid end))
807 start mid) end) 807 start mid) end)
808 (insert (make-string n ?\s)))) 808 (insert (make-string n ?\s))))