diff options
author | Phil Sainty <psainty@orcon.net.nz> | 2021-01-10 14:43:16 +1300 |
---|---|---|
committer | Phil Sainty <psainty@orcon.net.nz> | 2021-08-03 23:20:06 +1200 |
commit | e8718522c22db801a7a89266cc5a9ee40c3fcbe0 (patch) | |
tree | d284bd38bc332b6a764cdde4e459d3865e9b5505 /etc | |
parent | 9df60d52d50b86639a82f22d7c0a07a81c3ba817 (diff) | |
download | emacs-e8718522c22db801a7a89266cc5a9ee40c3fcbe0.tar.gz |
Make `global-so-long-mode' handle unrecognised file types
* lisp/so-long.el (so-long-target-modes): Add `fundamental-mode'
* etc/NEWS: Describe changes.
This doesn't affect buffers which are simply in `fundamental-mode' by
default. It only affects buffers for which `set-auto-mode' has been
called (normally via `find-file') without establishing a different
major mode.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -2861,6 +2861,13 @@ personal key ring. 10000 characters and 500 lines respectively, to reduce the likelihood of false-positives when 'global-so-long-mode' is enabled. +--- +*** 'so-long-target-modes' now includes 'fundamental-mode' by default, +meaning that 'global-so-long-mode' will also process files which were +not recognised. (This only has an effect if 'set-auto-mode' chooses +'fundamental-mode'; buffers which are simply in 'fundamental-mode' by +default are unaffected.) + * New Modes and Packages in Emacs 28.1 |