summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index f673b38c..c5d192c3 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -40,12 +40,8 @@
 
 (setq-default truncate-lines t)
 
-;; Ring the bell sometimes, but not so often
-(setq ring-bell-function
-      (lambda ()
-        (unless (memq this-command
-                      '(isearch-abort abort-recursive-edit exit-minibuffer keyboard-quit minibuffer-keyboard-quit undo-tree-undo))
-          (ding))))
+;; Don't ring the bell
+(setq ring-bell-function #'ignore)
 
 (when (or (daemonp)
           window-system)