zsh-workers
 help / color / mirror / code / Atom feed
* vi-digit-or-beginning-of-line fix
@ 1995-07-22 20:26 Zefram
  0 siblings, 0 replies; only message in thread
From: Zefram @ 1995-07-22 20:26 UTC (permalink / raw)
  To: Z Shell workers mailing list

-----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-----


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-07-23  1:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-07-22 20:26 vi-digit-or-beginning-of-line fix Zefram

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).