]> git.eshelyaron.com Git - emacs.git/commitdiff
(perl-indent-command): Use delete-region instead of kill-region.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 21 Apr 2007 20:06:49 +0000 (20:06 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 21 Apr 2007 20:06:49 +0000 (20:06 +0000)
lisp/progmodes/perl-mode.el

index 255f63aed41a7380d05a73afea0a87d25beec6da..75920a43aa73c8fd0d7054a9521edcc0d9c1d460 100644 (file)
@@ -647,10 +647,10 @@ possible action from the following list:
                     (if (and comment-start-skip
                              (re-search-forward comment-start-skip eol 'move))
                         (if (eolp)
-                            (progn     ; kill existing comment
+                            (progn     ; delete existing comment
                               (goto-char (match-beginning 0))
                               (skip-chars-backward " \t")
-                              (kill-region (point) eol))
+                              (delete-region (point) eol))
                           (if (or (< oldpnt (point)) (= oldpnt eol))
                               (indent-for-comment) ; indent existing comment
                             (end-of-line)))