From: Wilhelm H Kirschbaum Date: Wed, 15 Nov 2023 18:13:02 +0000 (+0200) Subject: Add elixir-ts-mode-hook to elixir-ts-mode X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=09de967f6c3ca7cf1304acd9465496da3a6b435f;p=emacs.git Add elixir-ts-mode-hook to elixir-ts-mode * lisp/progmodes/elixir-ts-mode.el (elixir-ts-mode-hook): Make hook available to customize. (Bug#67207) --- diff --git a/lisp/progmodes/elixir-ts-mode.el b/lisp/progmodes/elixir-ts-mode.el index 05edb4159a1..ad7c599edb1 100644 --- a/lisp/progmodes/elixir-ts-mode.el +++ b/lisp/progmodes/elixir-ts-mode.el @@ -74,6 +74,13 @@ :safe 'integerp :group 'elixir-ts) +(defcustom elixir-ts-mode-hook nil + "Hook run after entering `elixir-ts-mode'." + :type 'hook + :options '(eglot-ensure) + :group 'elixir-ts + :version "30.1") + (defface elixir-ts-font-comment-doc-identifier-face '((t (:inherit font-lock-doc-face))) "Face used for @comment.doc tags in Elixir files.")