Commit 0abe900b authored by Alan Mackenzie's avatar Alan Mackenzie
Browse files

(c-electric-slash): Replace wrong use of `kill-region' by

parent 97f67490
......@@ -856,7 +856,7 @@ is inhibited."
(narrow-to-region (point-min) (point))
(looking-at (concat c-current-comment-prefix "[ \t]*$")))))
(kill-region (progn (forward-line 0) (point))
(delete-region (progn (forward-line 0) (point))
(progn (end-of-line) (point)))
(insert-char ?* 1)) ; the / comes later. ; Do I need a t (retain sticky properties) here?
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment