branch: elpa/typescript-mode
commit 83579fac6ef581f83d0e23a9c2ac3d2e17eaf00d
Author: Louis-Dominique Dubeau <[email protected]>
Commit: Louis-Dominique Dubeau <[email protected]>
Remove the explicit invocation of the mode hook.
It is run implicitly by the mode that ``define-derived-mode`` creates.
---
typescript-mode.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/typescript-mode.el b/typescript-mode.el
index 7a7b57fc2c..6eaca9a16c 100644
--- a/typescript-mode.el
+++ b/typescript-mode.el
@@ -2265,9 +2265,8 @@ Key bindings:
;; Avoid byte-compilation errors. `font-lock-fontify-buffer' is
;; marked as interactive only in Emacs 25.
(with-no-warnings
- (font-lock-fontify-buffer)))
+ (font-lock-fontify-buffer))))
- (run-mode-hooks 'typescript-mode-hook))
;;;###autoload
(eval-after-load 'folding