My emacs startup script for cygwin
This is my emacs script for cygwin. It runs the Windows Emacs version and runs just 1 instance of emacs in most cases.
Typing emacs on its own simply starts a new version of emacs.
Type emacs and a file will try to open the document in a running version if its started else it will start emacs.
#!/bin/bash if [ -z $1 ] then d:/apps/emacs-22.2/bin/emacs.exe else d:/apps/emacs-22.2/bin/emacsclient.exe -n \ -a d:/apps/emacs-22.2/bin/emacs.exe $@ \ >/dev/null 2>&1 fi
April 3rd, 2009 at 5:00 am
It works! Thank you.