bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31039: 27.0.50; allow silencing auto-save


From: Eli Zaretskii
Subject: bug#31039: 27.0.50; allow silencing auto-save
Date: Mon, 06 Aug 2018 17:56:51 +0300

> From: Noam Postavsky <address@hidden>
> Date: Sun, 05 Aug 2018 22:43:16 -0400
> Cc: address@hidden, address@hidden
> 
> > +  DEFVAR_LISP ("auto-save-quiet", auto_save_quiet,
> > +          doc: /* Non-nil means do not print any message when auto-saving. 
> > */);
> > +  auto_save_quiet = Qnil;
> 
> The C name of the variable should start with V, like the others.

For a boolean variable, one can use DEFVAR_BOOL, in which case the
"start with V" nuisance can be avoided (and the code will be a tad
more efficient, too).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]