Permalink
Browse files

Changed todo to use EMACSCLIENT if set.

  • Loading branch information...
1 parent 9357cec commit 2fcab80417ef52bd340439eb03dabfc5da7599f1 @jgm committed Jul 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 todo
View
2 todo
@@ -1,5 +1,5 @@
#!/bin/sh
-CLIENT="emacsclient --alternate-editor=''"
+CLIENT=${EMACSCLIENT-"emacsclient --alternate-editor=''"}
(ls TODO.org && $CLIENT TODO.org) || $CLIENT '~/Dropbox/org/todo.org'

0 comments on commit 2fcab80

Please sign in to comment.