• Phil Sainty's avatar
    Defer triggering `so-long' until the buffer is displayed · e9dca2b5
    Phil Sainty authored
    * 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'.
    e9dca2b5
Name
Last commit
Last update
..
data Loading commit data...
lib-src Loading commit data...
lisp Loading commit data...
manual Loading commit data...
src Loading commit data...
ChangeLog.1 Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
file-organization.org Loading commit data...