summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mms-configuration.org8
1 files changed, 7 insertions, 1 deletions
diff --git a/mms-configuration.org b/mms-configuration.org
index 57b93ba..4ff72fb 100644
--- a/mms-configuration.org
+++ b/mms-configuration.org
@@ -73,7 +73,13 @@ Let's use spaces everywhere
Stop Emacs from using =audible bell=
#+begin_src emacs-lisp
-(setq visible-bell t)
+ (setq ring-bell-function
+ (lambda ()
+ (let ((orig-fg (face-foreground 'mode-line)))
+ (set-face-foreground 'mode-line "#F2804F")
+ (run-with-idle-timer 0.1 nil
+ (lambda (fg) (set-face-foreground 'mode-line fg))
+ orig-fg))))
#+end_src
* Package management