;;; Directory Local Variables ;;; See Info node `(emacs) Directory Variables' for more information. ;; You might want to use ;; ;; (put 'indent-tabs-mode 'permanent-local t) ;; ;; to ensure that it's not reset when you manually switch an .h file ;; that was automatically opened in c-mode to c++-mode. ((c++-mode (indent-tabs-mode)) (c-mode (indent-tabs-mode)) (nxml-mode (indent-tabs-mode)))