ada-contextual-menu-last-point
ada-contextual-menu-last-point is a variable defined in `
ada-mode.el
'.
Its value is
nil
Documentation:
Position of point just before displaying the menu.
This is a list (point buffer).
Since `ada-popup-menu' moves the point where the user clicked, the region
is modified. Therefore no command from the menu knows what the user selected
before displaying the contextual menu.
To get the original region, restore the point to this position before
calling `region-end' and `region-beginning'.
Modify this variable if you want to restore the point to another position.