From 0a3981c2265856c5d818d90fd7f9b3dd1be192bc Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Mon, 12 Mar 2018 11:47:26 -0400 Subject: [PATCH] et: call (todotxt-open-file) in emacs instead of opening file directly --- et | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/et b/et index fceb24a..fd08fda 100755 --- a/et +++ b/et @@ -3,4 +3,5 @@ [ "$1" = "usage" ] && echo " et" && echo " Edit the todo.txt file with emacsclient -t" && exit 0 shift -emacsclient -t "$TODO_DIR/todo.txt" +#emacsclient -t "$TODO_DIR/todo.txt" +emacsclient -ce '(todotxt-open-file)'