This file contains 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
#!/usr/bin/env ruby | |
# aquamacs-editor: my $EDITOR for Aquamacs. Starts Aquamacs, waits | |
# for emacs-server to load, then runs emacsclient with the given | |
# arguments. If data is piped to stdin, it's buffered to a temporary | |
# file and passed to emacsclient instead. Waits for 'C-x #' unless | |
# invoked with -n. | |
# | |
# sstephenson 2010-09-12 | |
require "tempfile" |
NewerOlder