diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-02-03 18:04:58 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-02-03 18:04:58 +0100 |
commit | 0d091a68a8d2ad1e127cd5baa252b2843ea7d69b (patch) | |
tree | f0c2cdcf55185ec601e5a4e8420a484017b66131 | |
parent | run.sh: add run script (diff) | |
download | emacs-elogt-0d091a68a8d2ad1e127cd5baa252b2843ea7d69b.tar.gz emacs-elogt-0d091a68a8d2ad1e127cd5baa252b2843ea7d69b.tar.bz2 emacs-elogt-0d091a68a8d2ad1e127cd5baa252b2843ea7d69b.zip |
run.sh: do not require only from current directory
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rwxr-xr-x | run.sh | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -17,4 +17,14 @@ # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. -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))" |