Skip to content

Commit

Permalink
hl-todo--regexp: Use defsubst
Browse files Browse the repository at this point in the history
  • Loading branch information
minad committed Aug 16, 2023
1 parent 9871325 commit 06935f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hl-todo.el
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ including alphanumeric characters, cannot be used here."

(defvar-local hl-todo--regexp nil)

(defun hl-todo--regexp ()
(defsubst hl-todo--regexp ()
"Return regular expression matching TODO or similar keyword."
(or hl-todo--regexp (hl-todo--setup-regexp)))

Expand Down

0 comments on commit 06935f9

Please sign in to comment.