diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-03-09 10:54:13 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-03-10 18:34:12 -0700 |
commit | c19b94511b70cf625babe393656ba97ddbad58ee (patch) | |
tree | a1432b3f00bd6dfee195dea150e2d27bc78634cc /bin/doccheckin | |
parent | c9f78d0182e0f17e6e6691966dbe0e52b3e919fb (diff) | |
download | dotfiles-c19b94511b70cf625babe393656ba97ddbad58ee.tar.gz |
doccheckin: add comment about why this is a shell script
Diffstat (limited to 'bin/doccheckin')
-rwxr-xr-x | bin/doccheckin | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/doccheckin b/bin/doccheckin index 291520e7..c5333674 100755 --- a/bin/doccheckin +++ b/bin/doccheckin @@ -3,6 +3,9 @@ set -e cd ~/doc/ +# This is a shell script in my crontab rather than an Emacs timer because we +# also want to use it as the myrepos autoci action for ~/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)' |