PS: To make it even nicer, it's better to show the character before completions like in 'C-x 8 RET TAB' with something like: :affixation-function (lambda (strings) (mapcar (lambda (s) (list s (concat (gethash s julia-mode-latexsubs) "\t") "")) strings))