changeset 14277:f0d30883b329

(makefile-browser-toggle): Use delete-region, not kill-line.
author Richard M. Stallman <rms@gnu.org>
date Wed, 24 Jan 1996 20:06:06 +0000
parents 35aaddb9e959
children 3562c5f43780
files lisp/progmodes/make-mode.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/make-mode.el	Wed Jan 24 19:17:51 1996 +0000
+++ b/lisp/progmodes/make-mode.el	Wed Jan 24 20:06:06 1996 +0000
@@ -971,13 +971,13 @@
       (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