Skip to content

Commit

Permalink
fixoid
Browse files Browse the repository at this point in the history
  • Loading branch information
jyp committed Jan 7, 2024
1 parent 1cec356 commit 6dc09dc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions boon-hl.el
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,10 @@ Search backward if DIRECTION is non-nil."


(defun boon--faces-property (pos)
""
(let ((x (get-text-property pos 'face)))
(if (listp x) x (list x))))
"Return the face properties at POS"
(and (> pos 0)
(let ((x (get-text-property pos 'face)))
(if (listp x) x (list x)))))

(defun boon-hl-patterns-at-point ()
"List of hl'ed patterns at point."
Expand Down

0 comments on commit 6dc09dc

Please sign in to comment.