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 c0dad2d36e7..f110c6f3267 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -6665,7 +6665,7 @@ even beep.)"
6665 ;; whether the trailing whitespace is highlighted. But, it's 6665 ;; whether the trailing whitespace is highlighted. But, it's
6666 ;; OK to just do this unconditionally. 6666 ;; OK to just do this unconditionally.
6667 (skip-chars-forward " \t"))) 6667 (skip-chars-forward " \t")))
6668 (kill-region opoint (if (and kill-whole-line (looking-at "\n")) 6668 (kill-region opoint (if (and kill-whole-line (= (following-char) ?\n))
6669 (1+ (point)) 6669 (1+ (point))
6670 (point))))) 6670 (point)))))
6671 6671