summaryrefslogtreecommitdiff
path: root/bin/doccheckin
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-03-11 15:55:37 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-03-11 15:56:01 -0700
commita95ebe8280ff680a751d622c34a53a4b983b25bf (patch)
tree5d9753a1e66918050fdfee58367b212a46960065 /bin/doccheckin
parent632ab6d13ff21d3ba2b22c5fb51e9a5f6c2a49ab (diff)
downloaddotfiles-a95ebe8280ff680a751d622c34a53a4b983b25bf.tar.gz
doccheckin: use scripts/desktop/emacsclient
Diffstat (limited to 'bin/doccheckin')
-rwxr-xr-xbin/doccheckin3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/doccheckin b/bin/doccheckin
index c5333674..51932bd3 100755
--- a/bin/doccheckin
+++ b/bin/doccheckin
@@ -8,7 +8,8 @@ cd ~/doc/
# If emacs is running, try to save all ~/doc/ buffers.
[ -n "$LOGNAME" ] && pgrep -u "$LOGNAME" emacs >/dev/null \
- && emacsclient -e '(spw/save-my-doc-buffers)'
+ && ~/src/dotfiles/scripts/desktop/emacsclient \
+ -- --eval '(spw/save-my-doc-buffers)'
# don't do anything if waiting on a manual merge; don't want just
# blanket commit that merge