aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp/eieio-compat.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp/eieio-compat.el')
-rw-r--r--lisp/emacs-lisp/eieio-compat.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/eieio-compat.el b/lisp/emacs-lisp/eieio-compat.el
index fcca99d79d5..7468c040e10 100644
--- a/lisp/emacs-lisp/eieio-compat.el
+++ b/lisp/emacs-lisp/eieio-compat.el
@@ -188,11 +188,10 @@ Summary:
188 (args (help-function-arglist code 'preserve-names)) 188 (args (help-function-arglist code 'preserve-names))
189 (doc-only (if docstring 189 (doc-only (if docstring
190 (let ((split (help-split-fundoc docstring nil))) 190 (let ((split (help-split-fundoc docstring nil)))
191 (if split (cdr split) docstring)))) 191 (if split (cdr split) docstring)))))
192 (new-docstring (help-add-fundoc-usage doc-only
193 (cons 'cl-cnm args))))
194 ;; FIXME: ¡Add new-docstring to those closures!
195 (lambda (cnm &rest args) 192 (lambda (cnm &rest args)
193 (:documentation
194 (help-add-fundoc-usage doc-only (cons 'cl-cnm args)))
196 (cl-letf (((symbol-function 'call-next-method) cnm) 195 (cl-letf (((symbol-function 'call-next-method) cnm)
197 ((symbol-function 'next-method-p) 196 ((symbol-function 'next-method-p)
198 (lambda () (cl--generic-isnot-nnm-p cnm)))) 197 (lambda () (cl--generic-isnot-nnm-p cnm))))