summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cl-extra.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp/cl-extra.el')
-rw-r--r--lisp/emacs-lisp/cl-extra.el20
1 files changed, 10 insertions, 10 deletions
diff --git a/lisp/emacs-lisp/cl-extra.el b/lisp/emacs-lisp/cl-extra.el
index 6f436db7100..8ed50f4f530 100644
--- a/lisp/emacs-lisp/cl-extra.el
+++ b/lisp/emacs-lisp/cl-extra.el
@@ -752,16 +752,16 @@ including `cl-block' and `cl-eval-when'."
;; FIXME: Add a `cl-class-of' or `cl-typeof' or somesuch.
(metatype (cl--class-name (symbol-value (aref class 0)))))
(insert (symbol-name type)
- (format " is a type (of kind ‘"))
+ (substitute-command-keys " is a type (of kind ‘"))
(help-insert-xref-button (symbol-name metatype)
'cl-help-type metatype)
- (insert (format "’)"))
+ (insert (substitute-command-keys "’)"))
(when location
- (insert (format " in ‘"))
+ (insert (substitute-command-keys " in ‘"))
(help-insert-xref-button
(help-fns-short-filename location)
'cl-type-definition type location 'define-type)
- (insert (format "’")))
+ (insert (substitute-command-keys "’")))
(insert ".\n")
;; Parents.
@@ -771,10 +771,10 @@ including `cl-block' and `cl-eval-when'."
(insert " Inherits from ")
(while (setq cur (pop pl))
(setq cur (cl--class-name cur))
- (insert (format "‘"))
+ (insert (substitute-command-keys "‘"))
(help-insert-xref-button (symbol-name cur)
'cl-help-type cur)
- (insert (format (if pl "’, " "’"))))
+ (insert (substitute-command-keys (if pl "’, " "’"))))
(insert ".\n")))
;; Children, if available. ¡For EIEIO!
@@ -785,10 +785,10 @@ including `cl-block' and `cl-eval-when'."
(when ch
(insert " Children ")
(while (setq cur (pop ch))
- (insert (format "‘"))
+ (insert (substitute-command-keys "‘"))
(help-insert-xref-button (symbol-name cur)
'cl-help-type cur)
- (insert (format (if ch "’, " "’"))))
+ (insert (substitute-command-keys (if ch "’, " "’"))))
(insert ".\n")))
;; Type's documentation.
@@ -804,10 +804,10 @@ including `cl-block' and `cl-eval-when'."
(when generics
(insert (propertize "Specialized Methods:\n\n" 'face 'bold))
(dolist (generic generics)
- (insert (format "‘"))
+ (insert (substitute-command-keys "‘"))
(help-insert-xref-button (symbol-name generic)
'help-function generic)
- (insert (format "’"))
+ (insert (substitute-command-keys "’"))
(pcase-dolist (`(,qualifiers ,args ,doc)
(cl--generic-method-documentation generic type))
(insert (format " %s%S\n" qualifiers args)