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 /tag-emacs/emacs.d/init.el | |
parent | 54140d630b30b65ec656ddc848ce56dd87f64ad8 (diff) | |
download | dotfiles-d8002787cc9d6862b5c3700a60e1f5181d775208.tar.lz dotfiles-d8002787cc9d6862b5c3700a60e1f5181d775208.tar.zst dotfiles-d8002787cc9d6862b5c3700a60e1f5181d775208.zip |
Emacs: ring the bell a bit less often
Diffstat (limited to 'tag-emacs/emacs.d/init.el')
-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 cd798bf..b4b5a92 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)) |