I would only need to:
- load my whole configuration
- exit and returns 0 if everything goes fine, returns another number
otherwise.
Any ideas?
I can already launch a new emacs with certain conf, but how can I get a
return value?
What about:
emacs -q --eval '(condition-case err (progn (load "~/.emacs") (kill-emacs 0)) (error (kill-emacs 1)))'
?
--
__Pascal Bourguignon__ http://www.informatimago.com/