summaryrefslogtreecommitdiff
path: root/lisp/ess-r-flymake.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ess-r-flymake.el')
-rw-r--r--lisp/ess-r-flymake.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ess-r-flymake.el b/lisp/ess-r-flymake.el
index 23038a9..dae2467 100644
--- a/lisp/ess-r-flymake.el
+++ b/lisp/ess-r-flymake.el
@@ -1,6 +1,6 @@
;;; ess-r-flymake.el --- A ess-r Flymake backend -*- lexical-binding: t; -*-
-;; Copyright (C) 2018-2020 Free Software Foundation, Inc.
+;; Copyright (C) 2018-2022 Free Software Foundation, Inc.
;; Maintainer: ESS-core <ESS-core@r-project.org>
@@ -155,7 +155,7 @@ into a list and call REPORT-FN on it."
(if (ess-r--flymake-check-errors)
(with-current-buffer src-buffer
;; we are in the sentinel here; don't throw but remove our hook instead
- (remove-hook 'flymake-diagnostic-functions 'ess-r-flymake t))
+ (remove-hook 'flymake-diagnostic-functions #'ess-r-flymake t))
(goto-char (point-min))
(cl-loop
while (search-forward-regexp