From 09de967f6c3ca7cf1304acd9465496da3a6b435f Mon Sep 17 00:00:00 2001 From: Wilhelm H Kirschbaum Date: Wed, 15 Nov 2023 20:13:02 +0200 Subject: [PATCH] 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) --- lisp/progmodes/elixir-ts-mode.el | 7 +++++++ 1 file changed, 7 insertions(+) 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.") -- 2.39.2