emacs-31 da0565d9b57: Flymake: really restore advertised compatibility to Emacs 26
João Távora <[email protected]>
| Newsgroups | gmane.emacs.diffs |
|---|---|
| Message-ID | <[email protected]> |
branch: emacs-31 commit da0565d9b57d67c59177b5069346fcf32778b2dd Author: João Távora <[email protected]> Commit: João Távora <[email protected]> Flymake: really restore advertised compatibility to Emacs 26 Emacs 26 doesn't have with-supressed-warnings bug#79930 * lisp/progmodes/flymake.el (flymake-goto-next-error): Use with-no-warnings. (Version): Bump to 1.4.6 --- lisp/progmodes/flymake.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index 823aa4fe673..de52031f15d 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -4,7 +4,7 @@ ;; Author: Pavel Kobyakov <[email protected]> ;; Maintainer: Spencer Baugh <[email protected]> -;; Version: 1.4.5 +;; Version: 1.4.6 ;; Keywords: c languages tools ;; Package-Requires: ((emacs "26.1") (eldoc "1.14.0") (project "0.11.1")) @@ -1627,7 +1627,7 @@ default) no filter is applied." (cl-sort retval (if (cl-plusp n) #'< #'>) :key #'overlay-start)))) (tail ;; For compatibility with older Emacs. - (with-suppressed-warnings ((obsolete cl-member-if)) + (with-no-warnings (cl-member-if (lambda (ov) (if (cl-plusp n) (> (overlay-start ov)