Commit 8d3a7934 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(makefile-browser-toggle): Use delete-region, not kill-line.

parent ecbf5c22
......@@ -971,13 +971,13 @@ If called with a prefix argument, trailing backslashes are removed."
(beginning-of-line)
(if (makefile-browser-on-macro-line-p)
(let ((macro-name (makefile-browser-this-line-macro-name)))
(kill-line)
(delete-region (point) (progn (end-of-line) (point)))
(insert
(makefile-browser-format-macro-line
macro-name
(makefile-browser-get-state-for-line this-line))))
(let ((target-name (makefile-browser-this-line-target-name)))
(kill-line)
(delete-region (point) (progn (end-of-line) (point)))
(insert
(makefile-browser-format-target-line
target-name
......
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