aboutsummaryrefslogtreecommitdiff
path: root/emacs/test-startup.sh
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2019-08-22 18:30:24 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2019-08-22 18:30:24 +0200
commit4ead9be4468d8d58c027bf6e6616e3b4d6e727eb (patch)
tree18ab19fd5213c9d302b165eafa46a6f1f8902e75 /emacs/test-startup.sh
parent04f4a7df197ce327f36b666869a1ca2f09934e58 (diff)
downloaddotfiles-4ead9be4468d8d58c027bf6e6616e3b4d6e727eb.tar.gz
dotfiles-4ead9be4468d8d58c027bf6e6616e3b4d6e727eb.zip
Complete re-structuring so it's easier to install
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'emacs/test-startup.sh')
-rwxr-xr-xemacs/test-startup.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/emacs/test-startup.sh b/emacs/test-startup.sh
deleted file mode 100755
index d8f3547..0000000
--- a/emacs/test-startup.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh -ex
-# Kindly taken from: https://github.com/purcell/emacs.d
-
-if [ -n "$TRAVIS" ]; then
- # We still need to have an .emacs.d directory, so emacs-async (dependency of
- # some other package) is happy.
- export HOME=$PWD/..
- ln -s emacs ../.emacs.d
-fi
-
-echo "Attempting startup..."
-
-${EMACS:=emacs} -nw --batch \
- --eval '(let ((debug-on-error t)
- (url-show-status nil)
- (user-emacs-directory default-directory)
- (package-user-dir (expand-file-name (concat "elpa-" emacs-version)))
- (custom-theme-directory default-directory)
- (user-init-file (expand-file-name "init.el")))
- (load-file user-init-file)
- (run-hooks (quote after-init-hook)))'
-echo "Startup successful"