From: W. Trevor King Date: Sat, 14 Mar 2015 23:17:18 +0000 (-0700) Subject: .emacs.d/site-lisp/wtk_common.el: Disable electric indent mode X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9db8fd6a49952dec83933bdc54023a47fa93033b;p=dotfiles-public.git .emacs.d/site-lisp/wtk_common.el: Disable electric indent mode I'm disabling this so I can paste content into Emacs without it injecting a lot of auto-indent whitespace [1,2]. I should be able to remove this workaround once I get to Emacs 25 [1]. [1]: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19093 [2]: https://www.gnu.org/software/emacs/manual/html_node/emacs/Indent-Convenience.html --- diff --git a/src/.emacs.d/site-lisp/wtk_common.el b/src/.emacs.d/site-lisp/wtk_common.el index f042887..6ed1d54 100644 --- a/src/.emacs.d/site-lisp/wtk_common.el +++ b/src/.emacs.d/site-lisp/wtk_common.el @@ -15,3 +15,6 @@ ; Disable the bell (\a, ^G) completely (setq ring-bell-function 'ignore) + +; Disable electric indent mode +(electric-indent-mode 0)