summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/inline.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2025-02-24 18:54:23 +0100
committerStefan Kangas <stefankangas@gmail.com>2025-02-24 20:43:53 +0100
commit13ca18e1f79f9c02ac46735b58bc5126f77f0a77 (patch)
tree9ef42cf460442589de130a4c83f1971acc87491b /lisp/emacs-lisp/inline.el
parent637c73d3a804f7e64736b87994e8974892529b00 (diff)
downloademacs-13ca18e1f79f9c02ac46735b58bc5126f77f0a77.tar.gz
emacs-13ca18e1f79f9c02ac46735b58bc5126f77f0a77.tar.bz2
emacs-13ca18e1f79f9c02ac46735b58bc5126f77f0a77.zip
Support selecting buffer in ert-with-test-buffer
* lisp/emacs-lisp/ert-x.el (ert-with-test-buffer): Add new keyword argument :selected to make the buffer current and selected. (ert-with-test-buffer-selected): Make obsolete and redefine in terms of ert-with-test-buffer. * doc/misc/ert.texi (Helper Functions): Document above new :selected keyword argument, and remove documentation of ert-with-test-buffer-selected. * test/lisp/emacs-lisp/ert-x-tests.el (ert-test-with-test-buffer-selected/selected) (ert-test-with-test-buffer-selected/modification-hooks) (ert-test-with-test-buffer-selected/read-only) (ert-test-with-test-buffer-selected/return-value) (ert-test-with-test-buffer-selected/buffer-name): * test/lisp/progmodes/hideshow-tests.el (hideshow-tests-with-temp-buffer-selected): * test/lisp/simple-tests.el (kill-whole-line-invisible) (kill-whole-line-read-only, kill-whole-line-after-other-kill) (kill-whole-line-buffer-boundaries) (kill-whole-line-line-boundaries): * test/lisp/whitespace-tests.el (whitespace-tests--with-test-buffer, whitespace-tests--global): Use ert-with-test-buffer instead of ert-with-test-buffer-selected.
Diffstat (limited to 'lisp/emacs-lisp/inline.el')
0 files changed, 0 insertions, 0 deletions