diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2013-10-05 05:26:39 +0300 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2013-10-05 05:26:39 +0300 |
commit | 0106e5b3990b556bf7641fa646a4b049bf543297 (patch) | |
tree | 1be3208474123d0a7f136ece4871a15834c572c3 /lisp/emacs-lisp | |
parent | 34ca0f4c796bca424a0e3033b419eb15b79a2f59 (diff) | |
download | emacs-0106e5b3990b556bf7641fa646a4b049bf543297.tar.gz |
* lisp/progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
to `after-save-hook' instead of `before-save-hook', because then
we know exactly what encoding was used to write the file.
(ruby-mode-set-encoding): Use `last-coding-system-used' instead of
guessing. Call `basic-save-buffer-1' after modifying the buffer.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions