emacs/init.el
This commit is contained in:
parent
a9a0ef409f
commit
b54569974f
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue