Previous: , Up: Range Tables   [Contents][Index]


55.2 Working With Range Tables

Function: get-range-table pos range-table &optional default

This function finds value for position pos in range-table. If there is no corresponding value, return default (defaults to nil).

Function: put-range-table start end value range-table

This function sets the value for range (start, end) to be value in range-table.

Function: remove-range-table start end range-table

This function removes the value for range (start, end) in range-table.

Function: clear-range-table range-table

This function flushes range-table.

Function: map-range-table function range-table

This function maps function over entries in range-table, calling it with three args, the beginning and end of the range and the corresponding value.