miscoms.c, mscvars.c, spinit.in, variable 'askquit' instead of 'noaskquit'
This commit is contained in:
parent
db0849d076
commit
fc83bd099a
|
|
@ -45,7 +45,7 @@ com_quit(wordlist *wl)
|
|||
bool noask =
|
||||
(wl && wl->wl_word && 1 == sscanf(wl->wl_word, "%d", &exitcode)) ||
|
||||
(wl && wl->wl_word && cieq(wl->wl_word, "noask")) ||
|
||||
cp_getvar("noaskquit", CP_BOOL, NULL);
|
||||
!cp_getvar("askquit", CP_BOOL, NULL);
|
||||
|
||||
/* update screen and reset terminal */
|
||||
gr_clean();
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ char *ft_setkwords[] = {
|
|||
"addcontrol",
|
||||
"altshow",
|
||||
"appendwrite",
|
||||
"askquit",
|
||||
"brief",
|
||||
"bypass",
|
||||
"chgtol",
|
||||
|
|
@ -80,7 +81,6 @@ char *ft_setkwords[] = {
|
|||
"moremode",
|
||||
"nfreqs",
|
||||
"noasciiplotvalue",
|
||||
"noaskquit",
|
||||
"nobjthack",
|
||||
"nobreak",
|
||||
"noclobber",
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ set x11lineararcs
|
|||
*set filetype=ascii
|
||||
** frontend debug output **
|
||||
*set ngdebug
|
||||
** no asking after quit **
|
||||
set noaskquit
|
||||
** asking after quit **
|
||||
*set askquit
|
||||
** set the number of threads in openmp
|
||||
** default (if compiled with --enable-openmp) is: 2
|
||||
*set num_threads=4
|
||||
|
|
|
|||
Loading…
Reference in New Issue