From: Dmitry Gutov Date: Wed, 15 Dec 2021 01:05:11 +0000 (+0300) Subject: ; etc/NEWS: Move the note about Xref EIEIO change to the proper section X-Git-Tag: emacs-28.0.91~44 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a4fcbf46a7bb71c39b22e4f6a865939ee8721d83;p=emacs.git ; etc/NEWS: Move the note about Xref EIEIO change to the proper section --- diff --git a/etc/NEWS b/etc/NEWS index d2565e50e1e..e7d72159023 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1011,20 +1011,6 @@ file: (add-hook 'foo-mode-hook (lambda () (auto-fill-mode -1)) -** Xref migrated from EIEIO to cl-defstruct for its core objects. -This means that 'oref' and 'with-slots' no longer works on them, and -'make-instance' can no longer be used to create those instances (which -wasn't recommended anyway). Packages should restrict themselves to -using functions like 'xref-make', 'xref-make-match', -'xref-make-*-location', as well as accessor functions -'xref-item-summary' and 'xref-item-location'. - -Among the benefits are better performance (noticeable when there are a -lot of matches) and improved flexibility: 'xref-match-item' instances -do not require that 'location' inherits from 'xref-location' anymore -(that class was removed), so packages can create new location types to -use with "match items" without adding EIEIO as a dependency. - * Editing Changes in Emacs 28.1 @@ -3724,6 +3710,20 @@ user option has been renamed to 'find-library-source-path', and --- ** The macro 'vc-call' no longer evaluates its second argument twice. +** Xref migrated from EIEIO to cl-defstruct for its core objects. +This means that 'oref' and 'with-slots' no longer works on them, and +'make-instance' can no longer be used to create those instances (which +wasn't recommended anyway). Packages should restrict themselves to +using functions like 'xref-make', 'xref-make-match', +'xref-make-*-location', as well as accessor functions +'xref-item-summary' and 'xref-item-location'. + +Among the benefits are better performance (noticeable when there are a +lot of matches) and improved flexibility: 'xref-match-item' instances +do not require that 'location' inherits from 'xref-location' anymore +(that class was removed), so packages can create new location types to +use with "match items" without adding EIEIO as a dependency. + * Lisp Changes in Emacs 28.1