; Simplify recent change in cl-defstruct
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Use bound-and-true-p. Suggested by Robert Pluim <rpluim@gmail.com>.
This commit is contained in:
parent
248adb4b77
commit
3df581972f
1 changed files with 2 additions and 2 deletions
|
@ -3200,8 +3200,8 @@ To see the documentation for a defined struct type, use
|
|||
;; choose to avoid the byte-compiler
|
||||
;; warnings.
|
||||
(if (>= (length long-docstring)
|
||||
(or (and (boundp 'byte-compile-docstring-max-column)
|
||||
byte-compile-docstring-max-column)
|
||||
(or (bound-and-true-p
|
||||
byte-compile-docstring-max-column)
|
||||
80))
|
||||
(concat
|
||||
(internal--format-docstring-line
|
||||
|
|
Loading…
Add table
Reference in a new issue