Comment 1 for bug 821986

Revision history for this message
Andreas Roehler (a-roehler) wrote :

Hi,

when byte-compiling from the command line, I'm using the following:

    $EMACS -Q --batch --eval "(message (emacs-version))" --eval "(when (featurep 'python-mode)(unload-feature 'python-mode t))" --eval "(add-to-list 'load-path \"$PFW/\")" -load "$PFW/python-mode.el" -load "$PFW/$TESTFILE" -load "$PFW/$TESTFILE2" -load $CCCMDS --eval "(byte-compile-file (expand-file-name \"~OTHER_PATH/test/py-bug-numbered-tests.el\"))" --eval "(byte-compile-file (expand-file-name \"~OTHER_PATH/test/python-mode-test.el\"))"

where $PFW etc. are path-variables

HTH,

Andreas