From d741d92c9d0b154cc46bb94a1fd8c5988455082f Mon Sep 17 00:00:00 2001 From: KarimAziev Date: Sat, 1 Jul 2023 20:02:33 +0300 Subject: [PATCH] fix warnings --- npmjs.el | 2 -- 1 file changed, 2 deletions(-) diff --git a/npmjs.el b/npmjs.el index f7ea49b..19c424f 100644 --- a/npmjs.el +++ b/npmjs.el @@ -1120,8 +1120,6 @@ With a prefix ARG, allow editing." (define-derived-mode npmjs-compilation-mode compilation-mode "NPMJS" "Major mode for the NPM compilation buffer." (use-local-map compilation-mode-map) - (setq major-mode 'npmjs-compilation-mode) - (setq mode-name "NPMJS") (setq-local truncate-lines t) (add-hook 'compilation-filter-hook #'npmjs-compilation-filter-hook nil t))