]> git.eshelyaron.com Git - emacs.git/commit
(ruby-mode-set-encoding): Use 'save-restriction'
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 22 Dec 2020 01:15:45 +0000 (03:15 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 22 Dec 2020 01:15:45 +0000 (03:15 +0200)
commitc69c65676dbca582dc6c2e59b7e19baf5da4caf0
tree77924868cb8c094cbf75bb4777aa0e9eadef4cba
parent27fab4b140c57a82fac6864bbae0fd9ae1ef363c
(ruby-mode-set-encoding): Use 'save-restriction'

* lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding):
Use 'save-restriction' (bug#45349).
lisp/progmodes/ruby-mode.el