From a440eb16a9d04676c9f94069de5eed6f754752f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Loi=CC=88c=20Correnson?= <loic.correnson@cea.fr>
Date: Wed, 6 May 2020 15:05:22 +0200
Subject: [PATCH] [ivette] moving emacs config to share

---
 ivette/README.md                                | 3 ++-
 ivette/{EMACS.el => share/typescript-config.el} | 3 +--
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename ivette/{EMACS.el => share/typescript-config.el} (94%)

diff --git a/ivette/README.md b/ivette/README.md
index 1c38042881e..6e081c72571 100644
--- a/ivette/README.md
+++ b/ivette/README.md
@@ -10,7 +10,8 @@ $ make app
 
 Emacs mode configuration can be setup with Typescript, Web-mode and Tide packages
 which are all available with MELPA. For configuring your `.emacs` accordingly,
-please look at the `EMACS.el`. This setup the Tide package to work with
+please look at the `share/typescript-config.el` file.
+This setup the Tide package to work with
 `typescript-mode` for `*.ts` files (see also `tsfmt.json` config file)
 and `web-mode` for `*.tsx` files.
 
diff --git a/ivette/EMACS.el b/ivette/share/typescript-config.el
similarity index 94%
rename from ivette/EMACS.el
rename to ivette/share/typescript-config.el
index 0b474609b3c..bac505c7d20 100644
--- a/ivette/EMACS.el
+++ b/ivette/share/typescript-config.el
@@ -18,8 +18,7 @@
 
 (defun setup-txs-mode ()
   (interactive)
-  (when (string-equal "tsx"
-                      (file-name-extension buffer-file-name))
+  (when (string-equal "tsx" (file-name-extension buffer-file-name))
     (setup-tide-mode)))
 
 ;; aligns annotation to the right hand side
-- 
GitLab