diff options
Diffstat (limited to 'misc/ruby-mode.el')
-rw-r--r-- | misc/ruby-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index 92287e9683..20a81f26e1 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -272,6 +272,7 @@ The variable ruby-indent-level controls the amount of indentation. (make-local-variable 'add-log-current-defun-function) (setq add-log-current-defun-function 'ruby-add-log-current-method) + (make-local-variable 'before-save-hook) (add-hook 'before-save-hook 'ruby-mode-set-encoding) (run-hooks 'ruby-mode-hook)) |