use mapcar instead of loop macro to remove CL package dependency

dash-at-point initialization currently errors if user hasn't included the CL package with `(require 'cl)`