Last active
September 13, 2018 04:16
-
-
Save x5lcfd/f5f1d722df46f668cee61032f2a76df7 to your computer and use it in GitHub Desktop.
emacs related.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM https://www.emacswiki.org/emacs/EmacsMsWindowsIntegration | |
c:\path\to\emacs\bin\emacsclientw.exe -c -n -a c:\path\to\emacs\bin\runemacs.exe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Path to runemacs (Modify this!) | |
$run_server = "X:\path\to\emacs\bin\runemacs.exe --daemon" | |
# Path to startup file | |
$startup_file = "$([Environment]::GetFolderPath('Startup'))\StartEmacsServer.bat" | |
# Clean previous server file info first | |
"del /Q %HOME%/.emacs.d/server/*" > $startup_file | |
$run_server >> $startup_file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment