summaryrefslogtreecommitdiff
path: root/test/lisp/so-long-tests
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2021Paul Eggert2021-01-016-6/+6
| | | | Run "TZ=UTC0 admin/update-copyright".
* ; shorten https://lists.gnu.org/archive/html/... linksStefan Kangas2020-10-091-1/+1
|
* Update copyright year to 2020Paul Eggert2020-01-016-6/+6
| | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
* Spelling fixesPaul Eggert2019-12-092-3/+3
|
* lisp/so-long.el: Refactor menu action commandsPhil Sainty2019-11-181-6/+8
| | | | | | | | | * lisp/so-long.el (so-long-menu): Call `so-long' with an ACTION argument instead of using `so-long-menu-item-replace-action'. (so-long-menu-item-replace-action): Remove the deprecated function. * test/lisp/so-long-tests/so-long-tests.el (so-long-tests-so-long-menu-item-replace-action): Update the test.
* lisp/so-long.el: Use (interactive "@") for menu commandsStefan Monnier2019-11-181-5/+1
| | | | | | | | | | | | | | * lisp/so-long.el (so-long-menu, so-long-menu-item-replace-action) (so-long-revert): Use interactive code "@", replacing all uses of `so-long-menu-click-window'. This approach leaves the window selected afterwards, whereas the old code did not; but that is not a problem. (so-long-menu-click-window, so-long-menu-item-revert): Remove the deprecated functions. * test/lisp/so-long-tests/so-long-tests.el (so-long-tests-so-long-menu-item-replace-action): Update the test. Co-authored-by: Phil Sainty <psainty@orcon.net.nz>
* Defer triggering `so-long' until the buffer is displayedPhil Sainty2019-11-154-5/+114
| | | | | | | | | | | | | | | | | * lisp/so-long.el (so-long-invisible-buffer-function): New user option. (so-long--set-auto-mode): Use so-long-invisible-buffer-function. (so-long-deferred): New function/value for so-long-invisible-buffer-function. (so-long, so-long--disable): Support for so-long-deferred. * test/lisp/so-long-tests/autoload-longlines-mode-tests.el * test/lisp/so-long-tests/autoload-major-mode-tests.el * test/lisp/so-long-tests/autoload-minor-mode-tests.el * test/lisp/so-long-tests/so-long-tests.el: Support for so-long-deferred. Pre-existing tests have been updated to ensure the buffer is already displayed in cases where a call to `normal-mode' is the (potential) trigger for `so-long'.
* ; Documentation and spellingPhil Sainty2019-11-151-0/+69
| | | | | | | | | | | | | * lisp/so-long.el: Documentation fixes. For the purposes of consistency, this reverts some of the changes made in commit 41ba8231ef072571e1a6feabc15d113e5cf57556, including one which had introduced inconsistent spelling. ispell configuration and LocalWords have been added such that `ispell-buffer' should find no misspellings for this library. * test/lisp/so-long-tests/spelling-tests.el (so-long-spelling): New test to check the spelling using `ispell-buffer'.
* Add tests for so-long.elPhil Sainty2019-07-135-0/+708