diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-06-17 13:30:30 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-06-17 13:30:30 +0200 |
commit | a07c647a2a0426e3e7380d279f4d469fcd3e913c (patch) | |
tree | 397bb99f3a39c8ab063c3698437a97ea41a283f2 /lisp | |
parent | 0161a4ae09b4269a14143808cfa44a6fd02790df (diff) | |
download | emacs-a07c647a2a0426e3e7380d279f4d469fcd3e913c.tar.gz |
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
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/cedet/semantic/complete.el | 4 |
1 files 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)) |