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

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

[nongnu] elpa/typescript-mode a922c27e95 111/222: Merge pull request #76


From: ELPA Syncer
Subject: [nongnu] elpa/typescript-mode a922c27e95 111/222: Merge pull request #76 from ananthakumaran/fix/drop-typescript-parent-mode
Date: Sun, 6 Feb 2022 16:59:23 -0500 (EST)

branch: elpa/typescript-mode
commit a922c27e95948a13e6a72e2620ca592a744721a7
Merge: 7a5c74d88e 0d32c85bfb
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: GitHub <noreply@github.com>

    Merge pull request #76 from ananthakumaran/fix/drop-typescript-parent-mode
    
    Drop typescript-parent-mode.
---
 typescript-mode.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/typescript-mode.el b/typescript-mode.el
index 17d64538d7..11627ab412 100644
--- a/typescript-mode.el
+++ b/typescript-mode.el
@@ -2585,11 +2585,8 @@ the broken-down class name of the item to insert."
 
 ;;; Main Function
 
-(defalias 'typescript-parent-mode
-  (if (fboundp 'prog-mode) 'prog-mode 'fundamental-mode))
-
 ;;;###autoload
-(define-derived-mode typescript-mode typescript-parent-mode "typescript"
+(define-derived-mode typescript-mode prog-mode "typescript"
   "Major mode for editing typescript.
 
 Key bindings:



reply via email to

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