yabs.io

Yet Another Bookmarks Service

Search

Results

[https://stackoverflow.com/questions/6238331/emacs-shell-scripts-how-to-put-initial-options-into-the-script#6259330] - - public:mzimmerm
emacs, eshell, good, script, shebang, shell - 6 | id:1294365 -

Use shebang + exec emacs --script to run emacs code as a shell script but also as emacs code, for example load-file #! /bin/sh “:“; exec emacs --no-site-file --script “$0“ -- “$@“ # -*-emacs-lisp-*- (print (+ 2 2))

[http://xahlee.info/emacs/emacs/blog.html] - - public:mzimmerm
elisp, emacs, good - 3 | id:1294294 -

Start here, and click on “Practical elisp“ or “Lisp Basics“. Menu on the left

Follow Tags


Export:

JSONXMLRSS