AmaiKinono/puni

feature request: puni-contract-region

olnw opened this issue · 0 comments

olnw commented

Hi, and thanks for your work on puni.

puni-expand-region is useful, but it's not quite a substitute for the expand-region package. Importantly, there is no puni-contract-region function.

expand-region achieves this by keeping track of the region in a variable called er/history. You can see their contract-region implementation here.