diff --git a/.gitignore b/.gitignore index eaaee0c..0f7306f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /emacs-flycheck-31.tar.gz /emacs-flycheck-32.tar.gz +/emacs-flycheck-34.1.tar.gz diff --git a/emacs-flycheck.spec b/emacs-flycheck.spec index 235a3fa..a540a1c 100644 --- a/emacs-flycheck.spec +++ b/emacs-flycheck.spec @@ -1,11 +1,11 @@ %global pkg flycheck Name: emacs-%{pkg} -Version: 32 -Release: 6%{?dist} +Version: 34.1 +Release: 1%{?dist} Summary: On the fly syntax checking for GNU Emacs -License: GPLv3+ +License: GPL-3.0-or-later URL: https://www.flycheck.org/ Source0: https://github.com/%{pkg}/%{pkg}/archive/%{version}/%{name}-%{version}.tar.gz Source1: %{pkg}-init.el @@ -49,6 +49,10 @@ install -Dpm 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}/%{pkg}-init.e %changelog +* Fri Mar 01 2024 Mohamed El Morabity - 34.1-1 +- Update to 34.1 +- Migrate to SPDX license + * Wed Jan 24 2024 Fedora Release Engineering - 32-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/flycheck-init.el b/flycheck-init.el index 7559b78..fad88b5 100644 --- a/flycheck-init.el +++ b/flycheck-init.el @@ -1,5 +1,5 @@ (autoload 'flycheck-manual "flycheck" "\ -Open the Flycheck manual." t nil) +Open the Flycheck manual." t) (autoload 'flycheck-mode "flycheck" "\ Flycheck is a minor mode for on-the-fly syntax checking. @@ -43,7 +43,7 @@ and disable it if ARG is zero or negative. If called from Lisp, also enable the mode if ARG is omitted or nil, and toggle it if ARG is ‘toggle’; disable the mode otherwise. -\(fn &optional ARG)" t nil) +\(fn &optional ARG)" t) (put 'global-flycheck-mode 'globalized-minor-mode t) @@ -60,14 +60,18 @@ or call the function `global-flycheck-mode'.") (autoload 'global-flycheck-mode "flycheck" "\ Toggle Flycheck mode in all buffers. With prefix ARG, enable Global Flycheck mode if ARG is positive; -otherwise, disable it. If called from Lisp, enable the mode if -ARG is omitted or nil. +otherwise, disable it. + +If called from Lisp, toggle the mode if ARG is `toggle'. +Enable the mode if ARG is nil, omitted, or is a positive number. +Disable the mode if ARG is a negative number. + +Flycheck mode is enabled in all buffers where `flycheck-mode-on-safe' +would do it. -Flycheck mode is enabled in all buffers where -`flycheck-mode-on-safe' would do it. See `flycheck-mode' for more information on Flycheck mode. -\(fn &optional ARG)" t nil) +\(fn &optional ARG)" t) (autoload 'flycheck-define-error-level "flycheck" "\ Define a new error LEVEL with PROPERTIES. @@ -77,7 +81,8 @@ The following PROPERTIES constitute an error level: `:severity SEVERITY' A number denoting the severity of this level. The higher the number, the more severe is this level compared to other - levels. Defaults to 0. + levels. Defaults to 0; info is -10, warning is 10, and + error is 100. The severity is used by `flycheck-error-level-<' to determine the ordering of errors according to their levels. @@ -125,9 +130,9 @@ The following PROPERTIES constitute an error level: A face symbol denoting the face to use for messages of this level in the error list. See `flycheck-list-errors'. -\(fn LEVEL &rest PROPERTIES)" nil nil) +\(fn LEVEL &rest PROPERTIES)") -(function-put 'flycheck-define-error-level 'lisp-indent-function '1) +(function-put 'flycheck-define-error-level 'lisp-indent-function 1) (autoload 'flycheck-define-command-checker "flycheck" "\ Define SYMBOL as syntax checker to run a command. @@ -206,11 +211,11 @@ Note that you may not give `:start', `:interrupt', and `:verify' function, though, whose results will be appended to the default `:verify' function of command checkers. -\(fn SYMBOL DOCSTRING &rest PROPERTIES)" nil nil) +\(fn SYMBOL DOCSTRING &rest PROPERTIES)") -(function-put 'flycheck-define-command-checker 'lisp-indent-function '1) +(function-put 'flycheck-define-command-checker 'lisp-indent-function 1) -(function-put 'flycheck-define-command-checker 'doc-string-elt '2) +(function-put 'flycheck-define-command-checker 'doc-string-elt 2) (autoload 'flycheck-def-config-file-var "flycheck" "\ Define SYMBOL as config file variable for CHECKER, with default FILE-NAME. @@ -228,7 +233,7 @@ argument to `flycheck-define-checker'. \(fn SYMBOL CHECKER &optional FILE-NAME &rest CUSTOM-ARGS)" nil t) -(function-put 'flycheck-def-config-file-var 'lisp-indent-function '3) +(function-put 'flycheck-def-config-file-var 'lisp-indent-function 3) (autoload 'flycheck-def-option-var "flycheck" "\ Define SYMBOL as option variable with INIT-VALUE for CHECKER. @@ -245,9 +250,9 @@ Use this together with the `option', `option-list' and \(fn SYMBOL INIT-VALUE CHECKERS DOCSTRING &rest CUSTOM-ARGS)" nil t) -(function-put 'flycheck-def-option-var 'lisp-indent-function '3) +(function-put 'flycheck-def-option-var 'lisp-indent-function 3) -(function-put 'flycheck-def-option-var 'doc-string-elt '4) +(function-put 'flycheck-def-option-var 'doc-string-elt 4) (autoload 'flycheck-define-checker "flycheck" "\ Define SYMBOL as command syntax checker with DOCSTRING and PROPERTIES. @@ -258,6 +263,12 @@ SYMBOL with `flycheck-def-executable-var'. \(fn SYMBOL DOCSTRING &rest PROPERTIES)" nil t) -(function-put 'flycheck-define-checker 'lisp-indent-function '1) +(function-put 'flycheck-define-checker 'lisp-indent-function 1) -(function-put 'flycheck-define-checker 'doc-string-elt '2) +(function-put 'flycheck-define-checker 'doc-string-elt 2) + +(register-definition-prefixes "flycheck" '("flycheck-" "help-flycheck-checker-d" "list-flycheck-errors")) + +(register-definition-prefixes "flycheck-buttercup" '("flycheck-buttercup-format-error-list")) + +(register-definition-prefixes "flycheck-ert" '("flycheck-er")) diff --git a/sources b/sources index 4e7f610..2381b50 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (emacs-flycheck-32.tar.gz) = 3e89238ee6d2bd3e51cd5df805969366fbb77c3df470a12e697282535e372cbea1d3e907f1c33952e5821c05c62ce758103d6421a2add9be5347f839806f831b +SHA512 (emacs-flycheck-34.1.tar.gz) = 5a28b8bb6a11db3da3535effb6c1087ee9d60e56ca132c77027834724dba723a610cb036b99baddaa9bd6e14d0986503f272bee4b64c5278f1cf0726cfac31f4