Merge pull request #3548 from MYDavoodeh/patch-5

Add the BUG and XXX tags to hl-todo
This commit is contained in:
Henrik Lissner 2020-07-13 17:17:43 -04:00 committed by GitHub
commit 228ed9ee11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,12 @@
;; directed at another user other than the author.
("NOTE" success bold)
;; For things that just gotta go and will soon be gone.
("DEPRECATED" font-lock-doc-face bold)))
("DEPRECATED" font-lock-doc-face bold)
;; For a known bug that needs a workaround
("BUG" error bold)
;; For warning about a problematic or misguiding code
("XXX" font-lock-constant-face bold)))
(defadvice! +hl-todo-clamp-font-lock-fontify-region-a (orig-fn &rest args)
"Fix an `args-out-of-range' error in some modes."