Emacs: Ansi-term not tab-completing

http://stackoverflow.com/questions/18278310/emacs-ansi-term-not-tab-completing

Alright, I fixed it. The problem was with yasnippets, but the suggestion on the link didn’t work. For some reason setting yas-minor-mode to -1 didn’t work. What I had to do was set yas-dont-activate to something.

Suggested fix that did NOT work for me:

(add-hook 'term-mode-hook (lambda()
                (yas-minor-mode -1)))

What DID work for me:

(add-hook 'term-mode-hook (lambda()
        (setq yas-dont-activate t)))

I’m running emacs 23.4.1

shareedit
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s