tacme: let Edit redo when file is clean - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 68a6e0c0d03af1026f1b903bb071977543b7a939
(DIR) parent ef27bfa4ab95825fc2f7c733064b8c96ee17d73e
(HTM) Author: Russ Cox <rsc@swtch.com>
Date: Tue, 12 Jan 2010 11:11:19 -0800
acme: let Edit redo when file is clean
R=, rsc
CC=
http://codereview.appspot.com/188042
Diffstat:
M src/cmd/acme/ecmd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/acme/ecmd.c b/src/cmd/acme/ecmd.c
t@@ -544,7 +544,7 @@ u_cmd(Text *t, Cmd *cp)
flag = FALSE;
}
oseq = -1;
- while(n-->0 && t->file->seq!=0 && t->file->seq!=oseq){
+ while(n-->0 && t->file->seq!=oseq){
oseq = t->file->seq;
undo(t, nil, nil, flag, 0, nil, 0);
}