Deleted Added
full compact
10c10
< as published by the Free Software Foundation; either version 1, or
---
> as published by the Free Software Foundation; either version 2, or
21c21
< 675 Mass Ave, Cambridge, MA 02139, USA. */
---
> 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
49,52c49,50
< extern int _rl_last_command_was_kill;
< extern int rl_editing_mode;
< extern int rl_explicit_arg;
< extern Function *rl_last_func;
---
> #include "rlprivate.h"
> #include "xmalloc.h"
54,60d51
< extern void _rl_init_argument ();
< extern int _rl_set_mark_at_pos ();
< extern void _rl_fix_point ();
< extern void _rl_abort_internal ();
<
< extern char *xmalloc (), *xrealloc ();
<
388c379
< int r;
---
> int r, npoint;
389a381
> npoint = (rl_point < rl_mark) ? rl_point : rl_mark;
391a384
> rl_point = npoint;
506c499
< int i;
---
> int i, pos;
507a501,502
> pos = where_history ();
>
515c510,513
< if (entry)
---
>
> history_set_pos (pos);
>
> if (entry == 0)
517,525d514
< if (history_skip)
< {
< for (i = 0; i < history_skip; i++)
< next_history ();
< }
< next_history ();
< }
< else
< {