Emacs: add aim-functions