jove 4.9 (undo skips current replace)
Rob McMahon
cudcv at warwick.ac.uk
Mon Sep 12 22:09:31 AEST 1988
In query-replace-string, if there is nothing to undo, C-u skips the current
replacement. A more friendly action would seem to be to ring the bell, and
let you have another go at this one: (your line numbers will vary)
RCS file: re1.c,v
retrieving revision 1.2
diff -c -r1.2 re1.c
*** /tmp/,RCSt1a03827 Mon Sep 12 13:06:59 1988
--- re1.c Mon Sep 12 12:52:08 1988
***************
*** 107,114 ****
case CTL('U'):
case 'U':
! if (UNDO_lp == 0)
! continue;
lp = UNDO_lp;
lp->l_dline = UNDO_da | DIRTY;
offset = 0;
--- 109,118 ----
case CTL('U'):
case 'U':
! if (UNDO_lp == 0) {
! rbell();
! goto reswitch;
! }
lp = UNDO_lp;
lp->l_dline = UNDO_da | DIRTY;
offset = 0;
--
UUCP: ...!mcvax!ukc!warwick!cudcv PHONE: +44 203 523037
JANET: cudcv at uk.ac.warwick ARPA: cudcv at warwick.ac.uk
Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England
More information about the Comp.sources.bugs
mailing list