diff options
| author | Dmitry Gutov | 2021-12-15 04:05:11 +0300 |
|---|---|---|
| committer | Dmitry Gutov | 2021-12-15 04:05:11 +0300 |
| commit | a4fcbf46a7bb71c39b22e4f6a865939ee8721d83 (patch) | |
| tree | 3e84c0811602dec14b5ac7232cd1852f48033a26 | |
| parent | f88c1d222f17d3483bf6f387dc41be4366a047ab (diff) | |
| download | emacs-a4fcbf46a7bb71c39b22e4f6a865939ee8721d83.tar.gz emacs-a4fcbf46a7bb71c39b22e4f6a865939ee8721d83.zip | |
; etc/NEWS: Move the note about Xref EIEIO change to the proper section
| -rw-r--r-- | etc/NEWS | 28 |
1 files changed, 14 insertions, 14 deletions
| @@ -1011,20 +1011,6 @@ file: | |||
| 1011 | 1011 | ||
| 1012 | (add-hook 'foo-mode-hook (lambda () (auto-fill-mode -1)) | 1012 | (add-hook 'foo-mode-hook (lambda () (auto-fill-mode -1)) |
| 1013 | 1013 | ||
| 1014 | ** Xref migrated from EIEIO to cl-defstruct for its core objects. | ||
| 1015 | This means that 'oref' and 'with-slots' no longer works on them, and | ||
| 1016 | 'make-instance' can no longer be used to create those instances (which | ||
| 1017 | wasn't recommended anyway). Packages should restrict themselves to | ||
| 1018 | using functions like 'xref-make', 'xref-make-match', | ||
| 1019 | 'xref-make-*-location', as well as accessor functions | ||
| 1020 | 'xref-item-summary' and 'xref-item-location'. | ||
| 1021 | |||
| 1022 | Among the benefits are better performance (noticeable when there are a | ||
| 1023 | lot of matches) and improved flexibility: 'xref-match-item' instances | ||
| 1024 | do not require that 'location' inherits from 'xref-location' anymore | ||
| 1025 | (that class was removed), so packages can create new location types to | ||
| 1026 | use with "match items" without adding EIEIO as a dependency. | ||
| 1027 | |||
| 1028 | 1014 | ||
| 1029 | * Editing Changes in Emacs 28.1 | 1015 | * Editing Changes in Emacs 28.1 |
| 1030 | 1016 | ||
| @@ -3724,6 +3710,20 @@ user option has been renamed to 'find-library-source-path', and | |||
| 3724 | --- | 3710 | --- |
| 3725 | ** The macro 'vc-call' no longer evaluates its second argument twice. | 3711 | ** The macro 'vc-call' no longer evaluates its second argument twice. |
| 3726 | 3712 | ||
| 3713 | ** Xref migrated from EIEIO to cl-defstruct for its core objects. | ||
| 3714 | This means that 'oref' and 'with-slots' no longer works on them, and | ||
| 3715 | 'make-instance' can no longer be used to create those instances (which | ||
| 3716 | wasn't recommended anyway). Packages should restrict themselves to | ||
| 3717 | using functions like 'xref-make', 'xref-make-match', | ||
| 3718 | 'xref-make-*-location', as well as accessor functions | ||
| 3719 | 'xref-item-summary' and 'xref-item-location'. | ||
| 3720 | |||
| 3721 | Among the benefits are better performance (noticeable when there are a | ||
| 3722 | lot of matches) and improved flexibility: 'xref-match-item' instances | ||
| 3723 | do not require that 'location' inherits from 'xref-location' anymore | ||
| 3724 | (that class was removed), so packages can create new location types to | ||
| 3725 | use with "match items" without adding EIEIO as a dependency. | ||
| 3726 | |||
| 3727 | 3727 | ||
| 3728 | * Lisp Changes in Emacs 28.1 | 3728 | * Lisp Changes in Emacs 28.1 |
| 3729 | 3729 | ||