www.nico.schottelius.org/software/gpm/browse_source/gpm-1.20.3pre4/contrib/emacs/exec.el
Nico Schottelius 95a46c5577 import gpm from unix.schottelius.org
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-08 22:52:35 +02:00

7 lines
No EOL
183 B
EmacsLisp

(setq command-switch-alist '(
("-exec" . cmdline-exec)))
(defun cmdline-exec (name)
(eval (car (read-from-string (car command-line-args-left))))
)