Don't beep in my headphones!
authorgavenkoa@gavenko.bifit.int
Tue, 28 Oct 2008 15:06:03 +0200
changeset 84 f65916e51b79
parent 83 d2eaf2ed6d1c
child 85 2bb7e6aceac9
Don't beep in my headphones!
.emacs-my
--- a/.emacs-my	Tue Oct 28 15:04:29 2008 +0200
+++ b/.emacs-my	Tue Oct 28 15:06:03 2008 +0200
@@ -263,7 +263,9 @@
 (setq gc-cons-threshold 2000000)
 
 ;; Don't beep in my headphones!
-;; (setq visible-bell t) ; XXX in text terminal revert screen if press [end] or [home]
+(setq ring-bell-function '(lambda () "Empty ring-bell-function." nil))
+(setq visible-bell t) ; With default ring-bell-function in text terminal
+                      ; revert screen if press [end] or [home]
 
 ;; Prompt before evaluating local bits of lisp.  This stops people
 ;; putting things at the end of files which delete all your files!