From b54569974f5a0d32bb76676bc5e328b37afb5df1 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 2 Sep 2012 11:29:02 +0200 Subject: [PATCH] emacs/init.el --- emacs/init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs/init.el b/emacs/init.el index f03c074..2b65f9a 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -175,7 +175,7 @@ (executable-make-buffer-file-executable-if-script-p) (let ((dom-dir (locate-dominating-file (buffer-file-name) "Makefile"))) (when dom-dir - (shell-command (concat "make -C " dom-dir " TAGS"))))) + (shell-command (concat "make -C " dom-dir " TAGS 2>&1 >/dev/null"))))) (defun oni:before-save-func () "Function for `before-save-hook'." @@ -965,7 +965,7 @@ for easy selection." (setq whitespace-style '(face trailing)) (setq yas-prompt-functions '(yas-ido-prompt)) -(add-hook 'after-save-hook 'oni:after-save-func) +(add-hook 'after-save-hook 'oni:after-save-func t) (add-hook 'before-save-hook 'oni:before-save-func) (add-hook 'c-mode-common-hook 'oni:c-mode-common-func) (add-hook 'c-mode-hook 'oni:c-mode-func)