diff options
-rwxr-xr-x | bin/doccheckin | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/doccheckin b/bin/doccheckin index b7a1eb35..100e401e 100755 --- a/bin/doccheckin +++ b/bin/doccheckin @@ -7,10 +7,8 @@ cd ~/doc/ # also want to use it as the myrepos autoci action for ~/doc/. # If emacs is running, try to save all ~/doc/ buffers. -if [ -n "$LOGNAME" ] && pgrep -u "$LOGNAME" emacs >/dev/null; then - emacsclient --eval '(spw/save-my-doc-buffers)' - emacsclient -sgdbmacs --spw/no-start --eval '(spw/save-my-doc-buffers)' -fi +emacsclient --spw/no-start --eval '(spw/save-my-doc-buffers)' +emacsclient -sgdbmacs --spw/no-start --eval '(spw/save-my-doc-buffers)' # don't do anything if waiting on a manual merge; don't want just # blanket commit that merge |