They appear in the same place, so they're the same when reading this variable as "the menu that's displayed near the content".

They're not the same when reading it as "the menu that deals with the current document".

There's no documentation accompanying the layout variables, so there's no current definition for these two.

Personally I'd prefer to keep the two separate, so add a new variable for disabling the edit menu.