From: Richard M. Stallman Date: Wed, 24 Jan 1996 20:06:06 +0000 (+0000) Subject: (makefile-browser-toggle): Use delete-region, not kill-line. X-Git-Tag: emacs-19.34~1583 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8d3a793498241c54564079f4d8562c11f9f56d3a;p=emacs.git (makefile-browser-toggle): Use delete-region, not kill-line. --- 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