Make the folding method be configurable on a per-buffer basis.