From a07c647a2a0426e3e7380d279f4d469fcd3e913c Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 17 Jun 2019 13:30:30 +0200 Subject: [PATCH] Fix use of obsolete constructor in semantic/complete.el * lisp/cedet/semantic/complete.el (make-instance): Use make-instance instead of the obsolete constructor method... which didn't work, anyway. The following would bug out --- lisp/cedet/semantic/complete.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/cedet/semantic/complete.el b/lisp/cedet/semantic/complete.el index 3c950230559..ec377f0103b 100644 --- a/lisp/cedet/semantic/complete.el +++ b/lisp/cedet/semantic/complete.el @@ -1176,8 +1176,8 @@ with that name." These collectors track themselves on a per-buffer basis." :abstract t) -(cl-defmethod constructor ((this (subclass semantic-collector-buffer-abstract)) - newname &rest fields) +(cl-defmethod make-instance ((this (subclass semantic-collector-buffer-abstract)) + &rest args) "Reuse previously created objects of this type in buffer." (let ((old nil) (bl semantic-collector-per-buffer-list)) -- 2.39.2