# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1497623445 14400 # Node ID c09e8544288c05574e59c9b0c8990f76bec99551 # Parent 2260eaac02ae3e73c391eaf1bcc4cfa58b856cbf electric-indent-mode: properly disable globally Holy shit, I've been living with this nonsense since 54767f6d121e back in 2010. diff --git a/dotemacs.el b/dotemacs.el --- 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 -(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)