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
commitbe1f88d86f0f72929b00903fd1cf52e459714916 (patch)
tree862c31d36556414c95da6ec49cf34ffdab016355 /elisp
parent770937b83eaed743b0d5f18b283b42476b747091 (diff)
downloadgeiser-be1f88d86f0f72929b00903fd1cf52e459714916.tar.gz
geiser-be1f88d86f0f72929b00903fd1cf52e459714916.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))))