Mercurial > hg > dotemacs
diff dotemacs.el @ 158:c09e8544288c
electric-indent-mode: properly disable globally
Holy shit, I've been living with this nonsense since 54767f6d121e back
in 2010.
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Fri, 16 Jun 2017 10:30:45 -0400 |
parents | 056c9b3775dc |
children | 518c16494232 |
line wrap: on
line diff
--- a/dotemacs.el +++ b/dotemacs.el @@ -208,8 +208,7 @@ (setq ediff-window-setup-function 'ediff-setup-windows-plain) ;; Don't like stuff to indent when I don't hit <TAB> -(add-hook 'c-mode-common-hook (lambda () (setq c-electric-flag nil))) -(add-hook 'python-mode-hook (lambda () (electric-indent-mode nil))) +(setq electric-indent-mode nil) ;; Menus are for wimps (menu-bar-mode -1)