summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/eieio.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2021-12-05 21:07:58 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2021-12-05 21:07:58 -0500
commit9171061352a019acd5a4d6fef36cddfd78cf4ac1 (patch)
tree221cbc0fb8a4942a1ceb1e25f5f80cde38fde637 /lisp/emacs-lisp/eieio.el
parent82f96ed38013a5bb78815c61ddecb2a21fb273b9 (diff)
downloademacs-9171061352a019acd5a4d6fef36cddfd78cf4ac1.tar.gz
emacs-9171061352a019acd5a4d6fef36cddfd78cf4ac1.tar.bz2
emacs-9171061352a019acd5a4d6fef36cddfd78cf4ac1.zip
EIEIO: Remove redundant type info in help
`C-h o` returned redundant info when used on EIEIO classes, listing the same thing both for the type name and for the constructor name. * lisp/emacs-lisp/eieio.el (help-fns-describe-function-functions): Remove special case for defclass constructors. * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor): Declare it obsolete.
Diffstat (limited to 'lisp/emacs-lisp/eieio.el')
-rw-r--r--lisp/emacs-lisp/eieio.el5
1 files changed, 0 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/eieio.el b/lisp/emacs-lisp/eieio.el
index 3fbfe011e29..2850c91ecdf 100644
--- a/lisp/emacs-lisp/eieio.el
+++ b/lisp/emacs-lisp/eieio.el
@@ -992,11 +992,6 @@ of `eq'."
(error "EIEIO: `change-class' is unimplemented"))
(define-obsolete-function-alias 'change-class #'eieio-change-class "26.1")
-;; Hook ourselves into help system for describing classes and methods.
-;; FIXME: This is not actually needed any more since we can click on the
-;; hyperlink from the constructor's docstring to see the type definition.
-(add-hook 'help-fns-describe-function-functions #'eieio-help-constructor)
-
(provide 'eieio)
;;; eieio.el ends here