Skip to content

Commit 72c31c2

Browse files
committed
fix some warnings
1 parent 8a93d7c commit 72c31c2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

boon-core.el

+6-6
Original file line numberDiff line numberDiff line change
@@ -327,10 +327,10 @@ the buffer changes."
327327
(boon-special-state "SPC")
328328
(t "???")))
329329

330-
(defface boon-modeline-cmd '((((background light)) :background "dodger blue") (((background dark)) :background "blue")) "Face for modeline indicator of boon command state" :group 'boon)
331-
(defface boon-modeline-ins '((((background light)) :background "indian red") (((background dark)) :background "red")) "Face for modeline indicator of boon insert state" :group 'boon)
332-
(defface boon-modeline-off '((t (:background "orange"))) "Face for modeline indicator of boon off state" :group 'boon)
333-
(defface boon-modeline-spc '((((background light)) :background "spring green") (((background dark)) :background "dark green")) "Face for modeline indicator of boon special state" :group 'boon)
330+
(defface boon-modeline-cmd '((((background light)) :background "dodger blue") (((background dark)) :background "blue")) "Face for modeline indicator of boon command state." :group 'boon)
331+
(defface boon-modeline-ins '((((background light)) :background "indian red") (((background dark)) :background "red")) "Face for modeline indicator of boon insert state." :group 'boon)
332+
(defface boon-modeline-off '((t (:background "orange"))) "Face for modeline indicator of boon off state." :group 'boon)
333+
(defface boon-modeline-spc '((((background light)) :background "spring green") (((background dark)) :background "dark green")) "Face for modeline indicator of boon special state." :group 'boon)
334334

335335
(defun boon-state-face ()
336336
"Return a face appropriate for a powerline-style entry in the modeline."
@@ -383,8 +383,8 @@ the buffer changes."
383383
;; When switching away from a window (for example by clicking in another
384384
;; window), return the buffer hosting it to its "natural" state (otherwise it's
385385
;; surprising to the user when coming back to it).
386-
(defun boon-reset-state-for-switchw (new-frame)
387-
"Reset the boon state to natural when switching windows."
386+
(defun boon-reset-state-for-switchw (_new-frame)
387+
"Reset the boon state to command when switching windows."
388388
(-when-let* ((old-frame-or-window (old-selected-window)) ; `old-selected-window' sometimes (surprisingly) returns a frame.
389389
(old-window (and (windowp old-frame-or-window) old-frame-or-window))
390390
(old-buffer (window-buffer old-window)))

0 commit comments

Comments
 (0)