mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-23 01:44:52 +01:00
test: use --quick when starting emacs.
At least in emacs24, this removes the "site-lisp" directories from the load path in addition to enforcing --no-site-lisp --no-init-file. This works around a slightly mysterious bug on Debian that causes test-lib.el not to load when there is cl-lib.el(c) in some site-lisp directory. It should be harmless in general since we really don't want to load any files from addon packages to emacs.
This commit is contained in:
parent
90f9a5e65e
commit
2d722bf032
1 changed files with 3 additions and 4 deletions
|
@ -1081,15 +1081,14 @@ export NOTMUCH_CONFIG=$NOTMUCH_CONFIG
|
||||||
|
|
||||||
# Here's what we are using here:
|
# Here's what we are using here:
|
||||||
#
|
#
|
||||||
# --no-init-file Don't load users ~/.emacs
|
# --quick Use minimal customization. This implies --no-init-file,
|
||||||
#
|
# --no-site-file and (emacs 24) --no-site-lisp
|
||||||
# --no-site-file Don't load the site-wide startup stuff
|
|
||||||
#
|
#
|
||||||
# --directory Ensure that the local elisp sources are found
|
# --directory Ensure that the local elisp sources are found
|
||||||
#
|
#
|
||||||
# --load Force loading of notmuch.el and test-lib.el
|
# --load Force loading of notmuch.el and test-lib.el
|
||||||
|
|
||||||
exec ${TEST_EMACS} --no-init-file --no-site-file \
|
exec ${TEST_EMACS} --quick \
|
||||||
--directory "$TEST_DIRECTORY/../emacs" --load notmuch.el \
|
--directory "$TEST_DIRECTORY/../emacs" --load notmuch.el \
|
||||||
--directory "$TEST_DIRECTORY" --load test-lib.el \
|
--directory "$TEST_DIRECTORY" --load test-lib.el \
|
||||||
"\$@"
|
"\$@"
|
||||||
|
|
Loading…
Reference in a new issue