WSL Emacs 如何打开 Windows 浏览器?

(setq cmdExeBin  "/mnt/c/Windows/System32/cmd.exe"
      cmdExeArgs '("/c" "start" "")

      browse-url-generic-program  cmdExeBin
      browse-url-generic-args     cmdExeArgs
      browse-url-browser-function 'browse-url-generic)

FROM Making Emacs on WSL open links in Windows web browser : bashonubuntuonwindows (reddit.com)

Browse URLs in Emacs under WSL

(when (and (eq system-type 'gnu/linux)
           (string-match
            "Linux.*Microsoft.*Linux"
            (shell-command-to-string "uname -a")))
  (setq
   browse-url-generic-program  "/mnt/c/Windows/System32/cmd.exe"
   browse-url-generic-args     '("/c" "start")
   browse-url-browser-function #'browse-url-generic))