Emacs custom: open with command-line argument or scratch buffer

See http://stackoverflow.com/questions/2418057/opening-emacs-from-prompt-always-opens-scratch