diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index ef00f9e4fe4..7c207d372fc 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el @@ -3199,7 +3199,10 @@ To see the documentation for a defined struct type, use ;; can't have a perfect result here, and ;; choose to avoid the byte-compiler ;; warnings. - (if (>= (length long-docstring) byte-compile-docstring-max-column) + (if (>= (length long-docstring) + (or (and (boundp 'byte-compile-docstring-max-column) + byte-compile-docstring-max-column) + 80)) (concat (internal--format-docstring-line "Access slot \"%s\" of CL-X." slot)