;;; nilならばdabbrev-expand, tならばhippie-expandで補完する (setq smart-tab-using-hippie-expand t) ;;; モードごとの補完コマンドの設定 (setq smart-tab-completion-functions-alist '((emacs-lisp-mode . lisp-complete-symbol) (text-mode . dabbrev-completion))) ;;; プログラミング言語のモードのみ有効にする (add-hook 'prog-mode-hook 'smart-tab-mode)