summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-08-23 02:04:55 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-08-23 02:04:55 +0200
commit4015fb6e694d2a2593a3db3b65704d783035f46e (patch)
tree91ca877dee69c87048b9a7dc025d0815bbf817dd /lisp/emacs-lisp
parent5d32630f792f7d0ebbabb20ede076920cb2096a1 (diff)
downloademacs-4015fb6e694d2a2593a3db3b65704d783035f46e.tar.gz
emacs-4015fb6e694d2a2593a3db3b65704d783035f46e.tar.bz2
emacs-4015fb6e694d2a2593a3db3b65704d783035f46e.zip
Improve byte-compile-warnings doc string
* lisp/emacs-lisp/bytecomp.el (byte-compile-warnings): Mention 'byte-compile-docstring-max-column'.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/bytecomp.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 7bd642d2b23..145cdbaa6ed 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -322,8 +322,9 @@ Elements of the list may be:
make-local calls to make-variable-buffer-local that may be incorrect.
mapcar mapcar called for effect.
constants let-binding of, or assignment to, constants/nonvariables.
- docstrings docstrings that are too wide (longer than 80 characters,
- or `fill-column', whichever is bigger)
+ docstrings docstrings that are too wide (longer than
+ `byte-compile-docstring-max-column' or
+ `fill-column' characters, whichever is bigger).
suspicious constructs that usually don't do what the coder wanted.
If the list begins with `not', then the remaining elements specify warnings to