Use whole-line-or-region to replace custom funcs
Update style