updates for mu4e and erc.

This commit is contained in:
2014-11-22 05:09:53 -08:00
parent 7080027290
commit 4edd75b6e1
8 changed files with 31 additions and 6 deletions

View File

@@ -70,6 +70,10 @@ function emacs_open {
focus_emacs
}
function time_emacs {
time \emacs --daemon="timing" && emacsclient -e "(kill-emacs)" --server-file="timing"
}
# Make emacs the default editor.
export EDITOR='emacs_open'
export VISUAL="$EDITOR"

View File

@@ -270,3 +270,9 @@ function track_modified {
function python_module_path {
python -c "import os, $1; print(os.path.dirname($1.__file__))"
}
function mu4e_directory {
if is_osx; then
echo "$(brew --prefix mu)/share/emacs/site-lisp/mu4e"
fi
}