Adds a filter to the global list of accel path filters.
Accel map entries whose accel path matches one of the filters are skipped by @foreach.
This function is intended for GTK+ modules that create their own menus, but don’t want them to be saved into the applications accelerator map dump.
filter_pattern |
a pattern (see PatternSpec) |