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
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