miscoms.c, mscvars.c, spinit.in, variable 'askquit' instead of 'noaskquit'

This commit is contained in:
h_vogt 2016-01-09 15:25:38 +01:00 committed by rlar
parent db0849d076
commit fc83bd099a
3 changed files with 4 additions and 4 deletions

View File

@ -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();

View File

@ -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",

View File

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