summaryrefslogtreecommitdiffstats
path: root/emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/init.el')
-rw-r--r--emacs.d/init.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 5043e92..5aaacb8 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -219,9 +219,11 @@
(setq ring-bell-function
(lambda ()
- (lexical-let ((fg (face-foreground 'mode-line)))
+ (let ((orig-fg (face-foreground 'mode-line)))
(set-face-foreground 'mode-line "#F2804F")
- (run-with-idle-timer 0.1 nil (lambda () (set-face-foreground 'mode-line fg))))))
+ (run-with-idle-timer 0.1 nil
+ (lambda (fg) (set-face-foreground 'mode-line fg))
+ orig-fg))))
;;; Colours