update felt macro to cl-flet

textmate.el: `flet' is an obsolete macro (as of 24.3); use either `cl-flet' or `cl-letf'.