1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

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:
Noam Postavsky 2018-01-28 13:59:06 -05:00
parent 9e6889c65a
commit 607cc4e24a

View File

@ -142,6 +142,9 @@ are not abstract."
(find-lisp-object-file-name ctr def)))
(when location
(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-fns-short-filename location)
'cl-type-definition ctr location 'define-type)