diff options
author | Stephen Berman <stephen.berman@gmx.net> | 2024-10-31 10:46:27 +0100 |
---|---|---|
committer | Stephen Berman <stephen.berman@gmx.net> | 2024-10-31 12:12:25 +0100 |
commit | 8113b5c562b88d4981231b0e332ced9fc20dc0b9 (patch) | |
tree | 0ddd8d410f09818d52c5dd9830d3f1a6db75f51d /lisp/emacs-lisp/regexp-opt.el | |
parent | 3101c5031e6eae31ac64392f312091ffa9bbd777 (diff) | |
download | emacs-8113b5c562b88d4981231b0e332ced9fc20dc0b9.tar.gz emacs-8113b5c562b88d4981231b0e332ced9fc20dc0b9.tar.bz2 emacs-8113b5c562b88d4981231b0e332ced9fc20dc0b9.zip |
Fix bugs in dabbrev-expand (bug#74090)
* lisp/dabbrev.el (dabbrev-expand): Use the buffer where the
expansion was found when setting the internal variables used to
determine the next expansion or a replacement expansion.
* test/lisp/dabbrev-tests.el (ert-x): Require for
'ert-with-temp-directory', 'ert-resource-directory' and
'ert-resource-file'.
(with-dabbrev-test): New macro.
(dabbrev-expand-test-same-buffer-{1,2,3,4})
(dabbrev-expand-test-other-buffer-{1,2,3,4})
(dabbrev-expand-test-minibuffer-{1,2,3,4}): New tests.
* test/lisp/dabbrev-resources/dabbrev-expand.el:
* test/lisp/dabbrev-resources/INSTALL_BEGIN: New test resources.
(cherry picked from commit f6c359cb66a0e9b851e3467b1ba9cab7efa8f744)
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
0 files changed, 0 insertions, 0 deletions