From 0d091a68a8d2ad1e127cd5baa252b2843ea7d69b Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Fri, 3 Feb 2023 18:04:58 +0100 Subject: run.sh: do not require only from current directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- run.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index c542308..353982f 100755 --- a/run.sh +++ b/run.sh @@ -17,4 +17,14 @@ # along with GNU Emacs. If not, see . -emacs -q -L . -l ./elogt.el -f elogt +trap 'exit 128' INT +set -e +export PATH + + +exec emacs "${@}" -L . \ + --eval "(progn + (require 'elogt) + (elogt) + (switch-to-buffer \"*ElogT*\") + (delete-other-windows))" -- cgit v1.2.3-65-gdbad