Define cl-type-definition button type as needed (Bug#28899)
* lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor): Require `cl-extra' before using the `cl-type-definition' button type.
This commit is contained in:
parent
9e6889c65a
commit
607cc4e24a
1 changed files with 4 additions and 1 deletions
|
@ -142,6 +142,9 @@ are not abstract."
|
||||||
(find-lisp-object-file-name ctr def)))
|
(find-lisp-object-file-name ctr def)))
|
||||||
(when location
|
(when location
|
||||||
(insert (substitute-command-keys " in `"))
|
(insert (substitute-command-keys " in `"))
|
||||||
|
;; The `cl-type-definition' button type can't be autoloaded
|
||||||
|
;; due to circularity during bootstrap (Bug#28899).
|
||||||
|
(require 'cl-extra)
|
||||||
(help-insert-xref-button
|
(help-insert-xref-button
|
||||||
(help-fns-short-filename location)
|
(help-fns-short-filename location)
|
||||||
'cl-type-definition ctr location 'define-type)
|
'cl-type-definition ctr location 'define-type)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue