Calling emacs script mode works fine on the command line, but the various hotkeys for evaluating the same code from a buffer result in errors when they encounter shebangs. On Feb 21, 2013 9:21 PM, "Glenn Morris" wrote: > Andrew Pennebaker wrote: > > > Emacs doesn't like evaluating elisp code that starts with a shebang line. > > What do you mean by "doesn't like", exactly? > > cat foo.el: > > #!/foo > (message "hi") > > emacs -Q -l ./foo.el > > works fine. >