mu4e_update_mail for mac osx using terminal-notifier

This commit is contained in:
2014-12-19 15:23:10 -08:00
parent b70181b71e
commit 17babb027e
3 changed files with 41 additions and 22 deletions

View File

@@ -60,6 +60,10 @@ function emacs_make_frame_if_none_exists {
focus_emacs
}
function execute_elisp {
emacs_get_running_instances | xargs -I svr-filename emacsclient --server-file=svr-filename -e "$1"
}
function focus_emacs {
is_osx && osascript -e 'tell application "Emacs" to activate'
}