Fix flet obsolete warning

This change shuts up the following warning:

auto-complete.el:774:37:Warning: `flet' is an obsolete macro (as of 24.3);
    use either `cl-flet' or `cl-letf'.
Merge branch 'flet-warning'

Fix flet obsolete warning.
The temporal function if inlined.