From: W. Trevor King Date: Sun, 30 Mar 2014 01:06:24 +0000 (-0700) Subject: .emacs.d/site-lisp/wtk_common.el: Disable the system bell (\a) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=710a5980dd8414cc39d9b28bed9229a843c8aa3e;p=dotfiles-public.git .emacs.d/site-lisp/wtk_common.el: Disable the system bell (\a) I enable the system bell (xset b) to get IRC notifications from irssi, but I don't want Emacs beeping at me if I try and move outside the buffer ;). --- diff --git a/src/.emacs.d/site-lisp/wtk_common.el b/src/.emacs.d/site-lisp/wtk_common.el index cefe9f6..f042887 100644 --- a/src/.emacs.d/site-lisp/wtk_common.el +++ b/src/.emacs.d/site-lisp/wtk_common.el @@ -12,3 +12,6 @@ ; Make scripts executable on Save (saves having to do the chmod every time) (add-hook 'after-save-hook 'executable-make-buffer-file-executable-if-script-p) + +; Disable the bell (\a, ^G) completely +(setq ring-bell-function 'ignore)