diff options
| author | Noam Postavsky | 2018-01-28 13:59:06 -0500 |
|---|---|---|
| committer | Noam Postavsky | 2018-01-30 22:14:02 -0500 |
| commit | 607cc4e24a08cfe4a14db9d1387dfb23ba94044c (patch) | |
| tree | bf780207469164e9b918573b4a4348d7b1393b66 | |
| parent | 9e6889c65af15b80db3f19064a765c1d3a198b87 (diff) | |
| download | emacs-607cc4e24a08cfe4a14db9d1387dfb23ba94044c.tar.gz emacs-607cc4e24a08cfe4a14db9d1387dfb23ba94044c.zip | |
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.
| -rw-r--r-- | lisp/emacs-lisp/eieio-opt.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/eieio-opt.el b/lisp/emacs-lisp/eieio-opt.el index dbec48d038b..eeb0bc95d68 100644 --- a/lisp/emacs-lisp/eieio-opt.el +++ b/lisp/emacs-lisp/eieio-opt.el | |||
| @@ -142,7 +142,10 @@ are not abstract." | |||
| 142 | (find-lisp-object-file-name ctr def))) | 142 | (find-lisp-object-file-name ctr def))) |
| 143 | (when location | 143 | (when location |
| 144 | (insert (substitute-command-keys " in `")) | 144 | (insert (substitute-command-keys " in `")) |
| 145 | (help-insert-xref-button | 145 | ;; The `cl-type-definition' button type can't be autoloaded |
| 146 | ;; due to circularity during bootstrap (Bug#28899). | ||
| 147 | (require 'cl-extra) | ||
| 148 | (help-insert-xref-button | ||
| 146 | (help-fns-short-filename location) | 149 | (help-fns-short-filename location) |
| 147 | 'cl-type-definition ctr location 'define-type) | 150 | 'cl-type-definition ctr location 'define-type) |
| 148 | (insert (substitute-command-keys "'"))) | 151 | (insert (substitute-command-keys "'"))) |