branch: elpa/typescript-mode
commit a922c27e95948a13e6a72e2620ca592a744721a7
Merge: 7a5c74d88e 0d32c85bfb
Author: Jostein Kjønigsen <[email protected]>
Commit: GitHub <[email protected]>
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: