From d1ec33eaead82138ba5e65d59fd68c7da6d9e3a5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Tue, 6 Aug 2019 13:09:20 +0200 Subject: [PATCH] Suppress relint errors in fortran.el * lisp/progmodes/fortran.el (fortran-indent-to-column): Suppress relint complaints about duplicated character in skip-set; it's intentional and harmless. --- lisp/progmodes/fortran.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el index f01e866f557..ff7b408c204 100644 --- a/lisp/progmodes/fortran.el +++ b/lisp/progmodes/fortran.el @@ -1820,7 +1820,9 @@ notes: 1) A non-zero/non-blank character in column 5 indicates a continuation fortran-comment-indent-char)) (chars (string ?\s ?\t char))) (goto-char (match-end 0)) + ;; relint suppression: Duplicated character (skip-chars-backward chars) + ;; relint suppression: Duplicated character (delete-region (point) (progn (skip-chars-forward chars) (point))) (insert-char char (- col (current-column))))) -- 2.39.2