-\ifx\ifGm at compatii\@undefined% +%% After geometry v5.0 there is no 'compat' code. +\ifx\Gm at lmargin\@undefined% Till said that installing this change right away sounded good to him, so I've done it, and uploaded to CTAN. Thanks.