Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

vi-digit-or-beginning-of-line fix



-----BEGIN PGP SIGNED MESSAGE-----

The patch below fixes vi-digit-or-beginning-of-line, which was
executing beginning-of-line instead of vi-beginning-of-line.  The
documentation is already correct.

 -zefram

      *** 1.6	1995/07/22 18:40:04
      --- zle_main.c	1995/07/22 20:22:09
      ***************
      *** 540,546 ****
            } else
        	ungetok = 1;		/* for doisearch() */
            if (ret == z_vidigitorbeginningofline)
      ! 	ret = (lastcmd & ZLE_DIGIT) ? z_digitargument : z_beginningofline;
            else if (ret == z_executenamedcmd && !statusline)
        	ret = executenamedcommand("execute: ");
            else if (ret == z_executelastnamedcmd)
      --- 540,546 ----
            } else
        	ungetok = 1;		/* for doisearch() */
            if (ret == z_vidigitorbeginningofline)
      ! 	ret = (lastcmd & ZLE_DIGIT) ? z_digitargument : z_vibeginningofline;
            else if (ret == z_executenamedcmd && !statusline)
        	ret = executenamedcommand("execute: ");
            else if (ret == z_executelastnamedcmd)

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQBVAgUBMBFev2WJ8JfKi+e9AQFmpQH/eJov9A46l2r4xk7U9Zn/RGgZIASrLTRL
tLrrx9Jg5eGtgH29p/MN4OXNmWx16sTv/mEpzP7GTflQYshJJfVBxw==
=sPVz
-----END PGP SIGNATURE-----



Messages sorted by: Reverse Date, Date, Thread, Author