From 08a8a4e16a7590d2c3517d8330ff0cb76d81792c Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sat, 28 Feb 2009 00:44:31 +0100 Subject: Delete, don't kill, region. --- elisp/geiser-syntax.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elisp/geiser-syntax.el b/elisp/geiser-syntax.el index c8ad338..196ff87 100644 --- a/elisp/geiser-syntax.el +++ b/elisp/geiser-syntax.el @@ -78,7 +78,7 @@ (geiser-syntax--with-buffer (goto-char (point-max)) (skip-syntax-backward "-<>") - (kill-region (point) (point-max)) + (delete-region (point) (point-max)) (let ((pps (parse-partial-sexp (point-min) (point)))) (when (nth 8 pps) ;; inside a comment or string (delete-region (nth 8 pps) (point-max)))) -- cgit v1.2.3