about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-08-24 14:03:47 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-08-24 14:03:47 -0700
commit91e4967619e66ac17da37f135c8ce6a26632d40c (patch)
tree4ddcaa3ad6bf101bf5e1d1833501de546709c78c
parent5af1e35808fd09f8cea1969ef937bd42299d30b2 (diff)
downloadmu-91e4967619e66ac17da37f135c8ce6a26632d40c.tar.gz
2066
-rw-r--r--edit.mu4
1 files changed, 1 insertions, 3 deletions
diff --git a/edit.mu b/edit.mu
index 4eaca4cb..0eb3ac1e 100644
--- a/edit.mu
+++ b/edit.mu
@@ -2426,9 +2426,7 @@ after +handle-special-key [
         break-unless curr
         currc:character <- get *curr, value:offset
         at-newline?:boolean <- equal currc, 10/newline
-        not-at-start?:boolean <- greater-than *cursor-column, left
-        line-done?:boolean <- and at-newline?, not-at-start?
-        break-if line-done?
+        break-if at-newline?
         #
         *before-cursor <- copy curr
         *cursor-column <- add *cursor-column, 1