]> git.eshelyaron.com Git - emacs.git/commitdiff
(makefile-browser-toggle): Use delete-region, not kill-line.
authorRichard M. Stallman <rms@gnu.org>
Wed, 24 Jan 1996 20:06:06 +0000 (20:06 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 24 Jan 1996 20:06:06 +0000 (20:06 +0000)
lisp/progmodes/make-mode.el

index 40910bc546ba052ff4dea280e1246e7cdcff8b1b..cabc112e9341f86971c0f8de4f171103f23c0e85 100644 (file)
@@ -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