mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-07 15:00:34 -08:00
* lisp/emacs-lisp/bytecomp.el (byte-compile--wide-docstring-p): (byte-compile-docstring-length-warn): New defuns. (byte-compile-docstring-max-column): New defcustom. (byte-compile--wide-docstring-substitution-len): New variable. (byte-compile-warning-types, byte-compile-warnings): New value 'docstrings'. (byte-compile-file-form-autoload, byte-compile-file-form-defvar): (byte-compile-file-form-defvar-function, byte-compile-lambda): (byte-compile-defvar, byte-compile-file-form-defalias): Warn about too wide docstrings. (Bug#44858) * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-warn-wide-docstring/defconst) (bytecomp-warn-wide-docstring/defvar): New tests. (bytecomp--define-warning-file-test): New macro. (bytecomp/warn-wide-docstring-autoload\.el) (bytecomp/warn-wide-docstring-custom-declare-variable\.el) (bytecomp/warn-wide-docstring-defalias\.el) (bytecomp/warn-wide-docstring-defconst\.el) (bytecomp/warn-wide-docstring-define-abbrev-table\.el) (bytecomp/warn-wide-docstring-define-obsolete-function-alias\.el) (bytecomp/warn-wide-docstring-define-obsolete-variable-alias\.el) (bytecomp/warn-wide-docstring-defun\.el) (bytecomp/warn-wide-docstring-defvar\.el) (bytecomp/warn-wide-docstring-defvaralias\.el) (bytecomp/warn-wide-docstring-ignore-fill-column\.el) (bytecomp/warn-wide-docstring-ignore-override\.el) (bytecomp/warn-wide-docstring-ignore\.el) (bytecomp/warn-wide-docstring-multiline-first\.el) (bytecomp/warn-wide-docstring-multiline\.el): New tests. * test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-autoload.el: * test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-custom-declare-variable.el: * test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-defalias.el: * test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-defconst.el: * test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-define-abbrev-table.el: * test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-define-obsolete-function-alias.el: * test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-define-obsolete-variable-alias.el: * test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-defun.el: * test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-defvar.el: * test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-defvaralias.el: * test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-ignore-fill-column.el: * test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-ignore-override.el: * test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-ignore.el: * test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-multiline-first.el: * test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-multiline.el: New files. |
||
|---|---|---|
| .. | ||
| error-lexical-var-with-add-hook.el | ||
| error-lexical-var-with-remove-hook.el | ||
| error-lexical-var-with-run-hook-with-args-until-failure.el | ||
| error-lexical-var-with-run-hook-with-args-until-success.el | ||
| error-lexical-var-with-run-hook-with-args.el | ||
| error-lexical-var-with-symbol-value.el | ||
| warn-autoload-not-on-top-level.el | ||
| warn-callargs.el | ||
| warn-defcustom-nogroup.el | ||
| warn-defcustom-notype.el | ||
| warn-defvar-lacks-prefix.el | ||
| warn-format.el | ||
| warn-free-setq.el | ||
| warn-free-variable-reference.el | ||
| warn-interactive-only.el | ||
| warn-lambda-malformed-interactive-spec.el | ||
| warn-make-variable-buffer-local.el | ||
| warn-obsolete-defun.el | ||
| warn-obsolete-hook.el | ||
| warn-obsolete-variable-same-file.el | ||
| warn-obsolete-variable.el | ||
| warn-redefine-defun-as-macro.el | ||
| warn-redefine-defun.el | ||
| warn-redefine-macro-as-defun.el | ||
| warn-save-excursion.el | ||
| warn-variable-let-bind-constant.el | ||
| warn-variable-let-bind-nonvariable.el | ||
| warn-variable-set-constant.el | ||
| warn-variable-set-nonvariable.el | ||
| warn-wide-docstring-autoload.el | ||
| warn-wide-docstring-custom-declare-variable.el | ||
| warn-wide-docstring-defalias.el | ||
| warn-wide-docstring-defconst.el | ||
| warn-wide-docstring-define-abbrev-table.el | ||
| warn-wide-docstring-define-obsolete-function-alias.el | ||
| warn-wide-docstring-define-obsolete-variable-alias.el | ||
| warn-wide-docstring-defun.el | ||
| warn-wide-docstring-defvar.el | ||
| warn-wide-docstring-defvaralias.el | ||
| warn-wide-docstring-ignore-fill-column.el | ||
| warn-wide-docstring-ignore-override.el | ||
| warn-wide-docstring-ignore.el | ||
| warn-wide-docstring-multiline-first.el | ||
| warn-wide-docstring-multiline.el | ||