]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix use of obsolete constructor in semantic/complete.el
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 17 Jun 2019 11:30:30 +0000 (13:30 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 17 Jun 2019 11:30:30 +0000 (13:30 +0200)
* 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

index 3c950230559ef3cbcaedf11d467e07d896e2aa4e..ec377f0103b3f70e26ae24589c905be49c0a8421 100644 (file)
@@ -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))