Disable org-lint checker for obsolete percentage encoding

I do not mind having such links, and sometimes I have to put up with
them, so let's spare `org-lint` of the trouble reporting them.
This commit is contained in:
Daniel Borchmann 2024-04-11 20:19:11 +02:00
parent edb5d9119b
commit 595ac9e696
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

11
init.el
View File

@ -786,6 +786,17 @@
:autoload (org-cycle-hide-drawers)
:init (setq org-cycle-include-plain-lists 'integrate))
(use-package org-lint
:autoload (org-lint-checker-name)
:config (progn
;; Yes, this is ugly, but I would like to get rid of checking for
;; obsolete percentage encoding in URLs without loosing the other
;; checkers.
(setq org-lint--checkers (cl-remove-if #'(lambda (c)
(eq (org-lint-checker-name c)
'percent-encoding-link-escape))
org-lint--checkers))))
;; Drag-and-Drop images into org-mode buffer
(use-package org-download
:commands (org-download-yank