From 8d3a793498241c54564079f4d8562c11f9f56d3a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 24 Jan 1996 20:06:06 +0000 Subject: [PATCH] (makefile-browser-toggle): Use delete-region, not kill-line. --- lisp/progmodes/make-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 40910bc546b..cabc112e934 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -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 -- 2.39.2