Skip to content
Snippets Groups Projects
Commit b4c68c05 authored by BAZIN Jean-Noel's avatar BAZIN Jean-Noel
Browse files

add csv and toggle english/french flyspell functions

parent 1c4184df
Branches
Tags
No related merge requests found
...@@ -494,6 +494,18 @@ source : [[ https://github.com/magnars/expand-region.el][https://github.com/magn ...@@ -494,6 +494,18 @@ source : [[ https://github.com/magnars/expand-region.el][https://github.com/magn
((text-mode outline-mode) . flyspell-mode) ((text-mode outline-mode) . flyspell-mode)
;; yaml-mode étant dérivé de text-mode, il faut désactiver explicitement flyspell ;; yaml-mode étant dérivé de text-mode, il faut désactiver explicitement flyspell
(yaml-mode . flyspell-mode-off)) (yaml-mode . flyspell-mode-off))
(defun flyspell-english ()
(interactive)
(ispell-change-dictionary "english")
(flyspell-buffer))
(defun flyspell-french ()
(interactive)
(ispell-change-dictionary "french")
(flyspell-buffer))
#+end_src #+end_src
- Affichage des corrections possibles en utilisant ivy - Affichage des corrections possibles en utilisant ivy
...@@ -1288,3 +1300,9 @@ Ediff s'exécute par défaut dans une nouvelle frame. La configuration proposée ...@@ -1288,3 +1300,9 @@ Ediff s'exécute par défaut dans une nouvelle frame. La configuration proposée
:config :config
(global-highlight-thing-mode)) (global-highlight-thing-mode))
#+end_src #+end_src
* Setting up CSV-mode
#+begin_src emacs-lisp :tangle yes
(use-package csv-mode)
#+end_src
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment