Microsoft Edge Dev, Windows Subsystem for Linux, Emacs Markdown Mode, and URLs
This post shows how to make it so clicking on a hyperlink in GNU Emacs running in the Windows Subsystem for Linux (WSL) on Windows 10 causes the link to open up in Microsoft Edge Insider’s Edition.
-
Install WSL
-
Install GNU Emacs
-
Install Markdown mode
-
Make a shell script. I put mine in
/home/edburns/bin/runedge.sh
/mnt/c/Program\ Files\ \(x86\)/Microsoft/Edge\ Dev/Application/msedge.exe $1
-
Put this in your
.emacs
:
- (defun browse-url-edge (url &optional new-window)
- (shell-command
- (concat "/home/edburns/bin/runedge.sh " url)))
- (setq browse-url-browser-function 'browse-url-edge)