Update Matlab configuration

This commit is contained in:
Dimitri Lozeve 2021-06-03 10:22:38 +02:00
parent 7857b502e3
commit 09894179e3

24
init.el
View file

@ -407,7 +407,6 @@
(use-package matlab (use-package matlab
:ensure matlab-mode :ensure matlab-mode
:defer t
:config :config
;; This is a simple script to set the required environment variables ;; This is a simple script to set the required environment variables
;; before launching Matlab in Emacs. This prevents an issue where ;; before launching Matlab in Emacs. This prevents an issue where
@ -416,19 +415,18 @@
;; #!/usr/bin/env bash ;; #!/usr/bin/env bash
;; export _JAVA_AWT_WM_NONREPARENTING=1 ;; export _JAVA_AWT_WM_NONREPARENTING=1
;; /usr/local/bin/matlab "$@" ;; /usr/local/bin/matlab "$@"
(setq matlab-shell-command "~/.local/bin/run_matlab.sh") (setq matlab-shell-command "~/.local/bin/run_matlab")
(setq matlab-shell-command-switches '("-nodesktop")) (setq matlab-shell-command-switches '("-nodesktop"))
(setq mlint-program "/usr/local/bin/mlint") ;; :custom-face
(setq-default matlab-show-mlint-warnings t) ;; (linemark-stop-face ((t (:background 'unspecified)
:custom-face ;; (:underline '(:color "red3" :style wave)))))
(linemark-stop-face ((t (:background 'unspecified) ;; (linemark-caution-face ((t (:background 'unspecified)
(:underline '(:color "red3" :style wave))))) ;; (:underline '(:color "yellow4" :style wave)))))
(linemark-caution-face ((t (:background 'unspecified) ;; (linemark-go-face ((t (:background 'unspecified)
(:underline '(:color "yellow4" :style wave))))) ;; (:underline '(:color "green4" :style wave)))))
(linemark-go-face ((t (:background 'unspecified) ;; (linemark-funny-face ((t (:background 'unspecified)
(:underline '(:color "green4" :style wave))))) ;; (:underline '(:color "blue3" :style wave)))))
(linemark-funny-face ((t (:background 'unspecified) )
(:underline '(:color "blue3" :style wave))))))
(use-package dyalog-mode (use-package dyalog-mode
:ensure t :ensure t