summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-02-28 00:44:31 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-02-28 00:44:31 +0100
commit08a8a4e16a7590d2c3517d8330ff0cb76d81792c (patch)
tree80035d39f221a842670fdbff2cc23bd508da9bb5 /elisp
parent12aef24d0084a3739e9433b10398304261074066 (diff)
downloadgeiser-chez-08a8a4e16a7590d2c3517d8330ff0cb76d81792c.tar.gz
geiser-chez-08a8a4e16a7590d2c3517d8330ff0cb76d81792c.tar.bz2
Delete, don't kill, region.
Diffstat (limited to 'elisp')
-rw-r--r--elisp/geiser-syntax.el2
1 files changed, 1 insertions, 1 deletions
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))))