Call a buffer with powershell

This commit is contained in:
Marcus Kammer 2020-11-25 09:35:40 +01:00
parent 254f942eba
commit 8d643e1778

View file

@ -12,13 +12,19 @@
inferior-lisp-program "sbcl"
slime-lisp-implementations `((sbcl (,sbcl-exe "--core" ,sbcl-core))))
(when (string= (system-name) "EVG02667NB")
(add-to-list 'Info-default-directory-list "~/Info")
(setq custom-file "~/.emacs.d/bundle/custom_win32_EVG02667NB.el")
(setq plantuml-jar-path "c:/Users/Marcus.Kammer/AppData/Local/Programs/plantuml/plantuml.jar")
(setq plantuml-default-exec-mode 'jar))
(defun powershell (&optional buffer)
"Launches a powershell in buffer *powershell* and switches to it."
(interactive)
(let ((buffer (or buffer "*powershell*"))
(powershell-prog "C:\\Program Files\\PowerShell\\7\\pwsh.exe"))
(make-comint-in-buffer "shell" "*powershell*" powershell-prog)
(switch-to-buffer buffer)))
(when (string= (system-name) "XPS-8930")))