Skip to content

Commit

Permalink
Correct scenario with only single face at point position. (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
brownts authored Nov 14, 2021
1 parent 2def5ed commit 8855eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blamer.el
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ Return nil if error."
((region-active-p) (face-attribute 'region :background))
((bound-and-true-p hl-line-mode) (face-attribute 'hl-line :background))
((not face) 'unspecified)
(t (face-attribute (car face) :background)))))
(t (face-attribute (or (car-safe face) face) :background)))))

(defun blamer--get-local-name (filename)
"Return local FILENAME if path is in the tramp format."
Expand Down

0 comments on commit 8855eeb

Please sign in to comment.