[Emacs] Replace Swift layer with Java layer

This commit is contained in:
Lucien Cartier-Tilet 2021-02-04 09:20:52 +01:00
parent 6787e6452a
commit 2538786be8
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -80,7 +80,6 @@ With the variable ~dotspacemacs-additional-packages~, it is possible to install
| info-colors | Extra colors for Emacs's Info-mode | | info-colors | Extra colors for Emacs's Info-mode |
| magit-gitflow | integrate gitflow in Magit | | magit-gitflow | integrate gitflow in Magit |
| multiple-cursors | I dont like the layer, I prefer this package alone | | multiple-cursors | I dont like the layer, I prefer this package alone |
| ob-swift | org-babel package for Swift |
| ob-latex-as-png | Inline arbitrary LaTeX snippets as PNGs in Emacs | | ob-latex-as-png | Inline arbitrary LaTeX snippets as PNGs in Emacs |
| org-sidebar | display on the side the outline of an Org buffer | | org-sidebar | display on the side the outline of an Org buffer |
| org-tree-slide | presentation tool for org-mode | | org-tree-slide | presentation tool for org-mode |
@ -421,9 +420,9 @@ I am also currently using the Awesome window manager which requires the Lua prog
lua-lsp-emmy-enable-file-watchers t) lua-lsp-emmy-enable-file-watchers t)
#+END_SRC #+END_SRC
Unfortunately, I have to write Swift code for one of my university courses, so here is the layer: Unfortunately, I have to write Java code for one of my university courses, so here is the layer:
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
swift java
#+END_SRC #+END_SRC
*** Readers *** Readers
@ -2072,6 +2071,7 @@ One of the amazing features of org-mode is its literary programming capacities b
| dot | | dot |
| emacs-lisp | | emacs-lisp |
| gnuplot | | gnuplot |
| java |
| latex | | latex |
| latex-as-png | | latex-as-png |
| makefile | | makefile |
@ -2080,7 +2080,6 @@ One of the amazing features of org-mode is its literary programming capacities b
| sass | | sass |
| scheme | | scheme |
| shell | | shell |
| swift |
#+NAME: org-babel-languages-gen #+NAME: org-babel-languages-gen
#+header: :cache yes :results replace #+header: :cache yes :results replace
@ -2093,21 +2092,22 @@ One of the amazing features of org-mode is its literary programming capacities b
"\n ")) "\n "))
#+END_SRC #+END_SRC
#+RESULTS[498fc46efb1de59954f758ca3d9869ea6a73dad9]: org-babel-languages-gen #+RESULTS[4d07a2b922a402777cb23301dd35399b4f063f43]: org-babel-languages-gen
#+begin_src emacs-lisp #+begin_example
'((C . t) '((C . t)
(dot . t) (dot . t)
(emacs-lisp . t) (emacs-lisp . t)
(gnuplot . t) (gnuplot . t)
(java . t)
(latex . t) (latex . t)
(latex-as-png . t)
(makefile . t) (makefile . t)
(plantuml . t) (plantuml . t)
(python . t) (python . t)
(sass . t) (sass . t)
(scheme . t) (scheme . t)
(shell . t) (shell . t))
(swift . t)) #+end_example
#+end_src
The corresponding code is as follows: The corresponding code is as follows:
#+NAME: org-babel-load-languages #+NAME: org-babel-load-languages