diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-12-05 21:07:58 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-12-05 21:07:58 -0500 |
commit | 9171061352a019acd5a4d6fef36cddfd78cf4ac1 (patch) | |
tree | 221cbc0fb8a4942a1ceb1e25f5f80cde38fde637 /lisp/emacs-lisp/eieio-opt.el | |
parent | 82f96ed38013a5bb78815c61ddecb2a21fb273b9 (diff) | |
download | emacs-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-opt.el')
-rw-r--r-- | lisp/emacs-lisp/eieio-opt.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/eieio-opt.el b/lisp/emacs-lisp/eieio-opt.el index 9c842f46829..3297a9d2ec7 100644 --- a/lisp/emacs-lisp/eieio-opt.el +++ b/lisp/emacs-lisp/eieio-opt.el @@ -130,6 +130,7 @@ are not abstract." ;;;###autoload (defun eieio-help-constructor (ctr) "Describe CTR if it is a class constructor." + (declare (obsolete "use describe-function or cl--describe-class" "29.1")) (when (class-p ctr) (erase-buffer) (let ((location (find-lisp-object-file-name ctr 'define-type)) |