emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/typescript-mode 83579fac6e 070/222: Remove the explicit in


From: ELPA Syncer
Subject: [nongnu] elpa/typescript-mode 83579fac6e 070/222: Remove the explicit invocation of the mode hook.
Date: Sun, 6 Feb 2022 16:59:18 -0500 (EST)

branch: elpa/typescript-mode
commit 83579fac6ef581f83d0e23a9c2ac3d2e17eaf00d
Author: Louis-Dominique Dubeau <ldd@lddubeau.com>
Commit: Louis-Dominique Dubeau <ldd@lddubeau.com>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]