oantolin / embark

Emacs Mini-Buffer Actions Rooted in Keymaps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

embark-open-externally will freeze Emacs on Windows system

Eason0210 opened this issue · comments

Hi @oantolin

When using embark-open-externally to open a folder on Windows 10 or Windows 11, it will freeze Emacs. And I had to kill the Emacs process and restart Emacs.

steps to reproduce:

  1. install emabark and start Emacs
  2. execute below code to open any folder, here I try to open the .emacs.d
(embark-open-externally (expand-file-name "~/.emacs.d/"))

solution:

Change (w32-shell-execute "open" file) in embark-open-externally to (w32-shell-execute nil file) will fix this issue.