diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-12-07 00:33:36 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-12-07 00:33:36 -0500 |
commit | 28ab6d0ebc2119132f66e10c29d0053c949a9018 (patch) | |
tree | a428e019bedaf991acfeb6235a039ed22def690a /lisp | |
parent | e7bc5b2f98d29153a8f182bbe5e3800161f3e1d1 (diff) | |
download | emacs.d-28ab6d0ebc2119132f66e10c29d0053c949a9018.tar.gz |
Don't set coding system in cleanup-buffer
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-editing.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/init-editing.el b/lisp/init-editing.el index 9462cf4..0c0d692 100644 --- a/lisp/init-editing.el +++ b/lisp/init-editing.el @@ -133,8 +133,7 @@ and '<<<' mark the bounds of the narrowed region. (unless km/prevent-cleanup (unless indent-tabs-mode (untabify (point-min) (point-max))) - (delete-trailing-whitespace) - (set-buffer-file-coding-system 'utf-8))) + (delete-trailing-whitespace))) (add-hook 'before-save-hook 'km/cleanup-buffer) (define-key km/editing-map "t" 'km/toggle-prevent-cleanup) |