diff options
author | Phil Sainty <psainty@orcon.net.nz> | 2019-10-21 23:52:29 +1300 |
---|---|---|
committer | Phil Sainty <psainty@orcon.net.nz> | 2019-11-15 00:39:13 +1300 |
commit | e9dca2b5aa43116980321259682ad0c68fd0f937 (patch) | |
tree | ec5e008d2a211de16bfabf298c99558ab17fc37c /test/lisp/emacs-lisp/regexp-opt-tests.el | |
parent | 90290745d74b18f8a824ea90fe6c6bf5110d716d (diff) | |
download | emacs-e9dca2b5aa43116980321259682ad0c68fd0f937.tar.gz emacs-e9dca2b5aa43116980321259682ad0c68fd0f937.tar.bz2 emacs-e9dca2b5aa43116980321259682ad0c68fd0f937.zip |
Defer triggering `so-long' until the buffer is displayed
* 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'.
Diffstat (limited to 'test/lisp/emacs-lisp/regexp-opt-tests.el')
0 files changed, 0 insertions, 0 deletions