]> git.eshelyaron.com Git - emacs.git/commit
lisp/so-long.el: Improve support for major mode hooks
authorPhil Sainty <psainty@orcon.net.nz>
Sun, 8 Dec 2019 10:28:06 +0000 (23:28 +1300)
committerPhil Sainty <psainty@orcon.net.nz>
Mon, 3 Aug 2020 17:00:20 +0000 (05:00 +1200)
commitfa20e443c865db8f2975e1b572654f235e2be91d
tree28b504b7aa3408d6f19f7cd0892421ac48f71a94
parent8576297b2a657d1944b7d824b30a1cb6459685c6
lisp/so-long.el: Improve support for major mode hooks

* lisp/so-long.el (so-long-remember-all, so-long-disable-minor-modes)
(so-long-override-variables): Store and use the `so-long-minor-modes'
and `so-long-variable-overrides' values seen by the original major
mode, so that buffer-local changes made in the major mode hook will be
respected.

Add documentation of this and other major mode hook usage.
lisp/so-long.el