* menu completion cleanup
@ 1997-01-11 22:14 Zefram
0 siblings, 0 replies; only message in thread
From: Zefram @ 1997-01-11 22:14 UTC (permalink / raw)
To: Z Shell workers mailing list
-----BEGIN PGP SIGNED MESSAGE-----
My recent patch for removable suffixes makes invalidatelist() reset
lastambig. This means that the test of lastcmd when starting menu
completion with AUTO_MENU is no longer necessary.
-zefram
*** Src/Zle/zle_tricky.c 1997/01/11 17:59:12 1.10
--- Src/Zle/zle_tricky.c 1997/01/11 19:45:02
***************
*** 508,516 ****
/* Check if we have to start a menu-completion (via automenu). */
! if ((amenu = (isset(AUTOMENU) &&
! (lastcmd & ZLE_MENUCMP) &&
! lastambig)))
usemenu = 1;
/* Expand history references before starting completion. If anything *
--- 508,514 ----
/* Check if we have to start a menu-completion (via automenu). */
! if ((amenu = (isset(AUTOMENU) && lastambig)))
usemenu = 1;
/* Expand history references before starting completion. If anything *
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBMtfvbHD/+HJTpU/hAQFfggQAqBaWvQQ/X3qU6er/1MLpk0tlYVqOJ3Mn
pkMwgGv6a/GV2o7jjLFGCiFwMA0hujjKuW1z9X0qLe2km7EI8Fk18TO1vlGtOul9
NyAr3a572cJApzIOjNzY/R0Q6WZ0OJX+SRpAD1hzuWXgPt2nMUfBDkfGydWOlo6s
Eitk1PRbnJY=
=+zKq
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-01-11 22:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-01-11 22:14 menu completion cleanup 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).