From: Mattias EngdegÄrd Date: Tue, 6 Aug 2019 11:09:20 +0000 (+0200) Subject: Suppress relint errors in fortran.el X-Git-Tag: emacs-27.0.90~1671 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d1ec33eaead82138ba5e65d59fd68c7da6d9e3a5;p=emacs.git 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. --- 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)))))