Skip to content

Commit

Permalink
Blink the modeline instead of making beeps on various errors
Browse files Browse the repository at this point in the history
  • Loading branch information
themkat committed Jan 24, 2024
1 parent bb1f967 commit 209b2fc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions init.org
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,14 @@ I use some general settings to make Emacs feel better.

;; use y or n instead of yes or no
(defalias 'yes-or-no-p 'y-or-n-p)


;; Instead of making annoying beeps, blink the modeline on various errors.
;; Taxed/Stolen from:
;; http://whattheemacsd.com/appearance.el-02.html
(setq ring-bell-function (lambda ()
(invert-face 'mode-line)
(run-with-timer 0.1 nil 'invert-face 'mode-line)))
#+END_SRC


Expand Down

0 comments on commit 209b2fc

Please sign in to comment.