This mode exists by default for GNU/Emacs too, it has been added in version 20.3.