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)