Disable bell sound on windows

This commit is contained in:
Curt Spark 2026-03-10 20:25:55 +00:00
parent fc95a69246
commit ed2c715970
1 changed files with 3 additions and 2 deletions

View File

@ -6,8 +6,9 @@
;; Set custom tab width here
(defvar custom-tab-width 8)
;; Disable bell/messages sound
(set-message-beep 'silent)
;; Disable bell/messages sound on windows
(when (eq window-system 'w32)
(set-message-beep 'silent))
;; Temporary file config
(setq backup-directory-alist