mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 15:56:35 -04:00
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
This commit is contained in:
parent
8f6e2cc66b
commit
da0565d9b5
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Pavel Kobyakov <pk_at_work@yahoo.com>
|
||||
;; Maintainer: Spencer Baugh <sbaugh@janestreet.com>
|
||||
;; 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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue