Skip to content

Commit

Permalink
Whitespace cleanups for python.
Browse files Browse the repository at this point in the history
  • Loading branch information
mstemm committed Dec 7, 2016
1 parent 014b2cd commit 8ebccab
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .emacs
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,11 @@
(make-local-variable 'write-contents-functions)
(add-hook 'write-contents-functions 'any-mode-untabify)))

(add-hook 'python-mode-hook
'(lambda ()
(make-local-variable 'write-contents-functions)
(add-hook 'write-contents-functions 'any-mode-untabify)))

(add-hook 'sgml-mode-hook
'(lambda ()
(make-local-variable 'write-contents-functions)
Expand All @@ -194,3 +199,17 @@
'(lambda ()
(make-local-variable 'write-contents-functions)
(add-hook 'write-contents-functions 'any-mode-untabify)))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(magit-diff-arguments
(quote
("--function-context" "--ignore-space-change" "--no-ext-diff" "--stat"))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)

0 comments on commit 8ebccab

Please sign in to comment.