mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-30 02:33:03 -07:00
Allow flag defaults
Copied from Perforce Change: 18978 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
8076108ec6
commit
d012c8ad06
1 changed files with 5 additions and 3 deletions
|
|
@ -110,10 +110,12 @@ sub optioncode {
|
|||
}
|
||||
|
||||
sub applydefaults {
|
||||
local ($opt, $val);
|
||||
local ($opt, $val, %arr);
|
||||
|
||||
foreach (keys %qa_options) {
|
||||
$opt = $qa_options{$_};
|
||||
%arr = (%qa_options, %qa_flags);
|
||||
|
||||
foreach (keys %arr) {
|
||||
$opt = ($qa_options{$_} || $qa_flags{$_});
|
||||
unless (&getoption($opt)) {
|
||||
$val = $ENV{"MMQA_".$opt};
|
||||
unless ($val) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue