diff options
author | Alan Pearce | 2014-06-04 16:42:02 +0100 |
---|---|---|
committer | Alan Pearce | 2014-06-04 16:42:02 +0100 |
commit | d8002787cc9d6862b5c3700a60e1f5181d775208 (patch) | |
tree | 07bd881cd47016b003db5e0b7c3ddc3e319fded5 | |
parent | 54140d630b30b65ec656ddc848ce56dd87f64ad8 (diff) | |
download | nixfiles-d8002787cc9d6862b5c3700a60e1f5181d775208.tar.lz nixfiles-d8002787cc9d6862b5c3700a60e1f5181d775208.tar.zst nixfiles-d8002787cc9d6862b5c3700a60e1f5181d775208.zip |
Emacs: ring the bell a bit less often
-rw-r--r-- | tag-emacs/emacs.d/init.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index cd798bff..b4b5a92b 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -79,6 +79,12 @@ (when (fboundp #'blink-cursor-mode) (blink-cursor-mode -1)) +(setq ring-bell-function + (lambda () + (unless (memq this-command + '(isearch-abort abort-recursive-edit exit-minibuffer keyboard-quit undo-tree-undo)) + (ding)))) + (req-package solarized-theme :config (load-theme 'solarized-light t)) |