changeset 257:31f86a5707ee

c++: enable tab completion
author Augie Fackler <durin42@gmail.com>
date Thu, 13 Jan 2011 12:43:22 -0600
parents 308c884414bc
children 863f1503616f
files .elisp/settings/40.modes.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.elisp/settings/40.modes.el
+++ b/.elisp/settings/40.modes.el
@@ -15,6 +15,7 @@ point."
 ;; add hooks for modes you want to use the tab completion for:
 (set-variable 'af-cleanup-whitespace t)
 (add-hook 'c-mode-hook          'af-tab-fix)
+(add-hook 'c++-mode-hook          'af-tab-fix)
 (add-hook 'sh-mode-hook         'af-tab-fix)
 (add-hook 'emacs-lisp-mode-hook 'af-tab-fix)