[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/so-long 5e414a4 01/10: ; * lisp/so-long.el: Documentation
From: |
Phil Sainty |
Subject: |
scratch/so-long 5e414a4 01/10: ; * lisp/so-long.el: Documentation |
Date: |
Sat, 20 Mar 2021 23:25:13 -0400 (EDT) |
branch: scratch/so-long
commit 5e414a48c20b92b6513df8a70d982c47e627f3a7
Author: Phil Sainty <psainty@orcon.net.nz>
Commit: Phil Sainty <psainty@orcon.net.nz>
; * lisp/so-long.el: Documentation
---
lisp/so-long.el | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/lisp/so-long.el b/lisp/so-long.el
index f44d41d..f7978b0 100644
--- a/lisp/so-long.el
+++ b/lisp/so-long.el
@@ -50,16 +50,17 @@
;; performance further, as well as making the so-long activity more obvious to
;; the user. These kinds of minified files are typically not intended to be
;; edited, so not providing the usual editing mode in such cases will rarely be
-;; an issue. However, you can reinstate the original state of the buffer by
-;; calling `so-long-revert' (the key binding of which is advertised when the
major
-;; mode change occurs). If you prefer that the major mode not be changed, you
-;; can customize the `so-long-minor-mode' action.
+;; an issue; however you can restore the buffer to its original state by
calling
+;; `so-long-revert' (the key binding of which is advertised when the major mode
+;; change occurs). If you prefer that the major mode not be changed in the
+;; first place, there is a `so-long-minor-mode' action available, which you can
+;; select by customizing the `so-long-action' user option.
;;
;; The user options `so-long-action' and `so-long-action-alist' determine what
-;; actions `so-long' and `so-long-revert' will take. This allows you to
configure
-;; alternative actions (including custom actions). As well as
-;; the major and minor mode actions provided by this library, `longlines-mode'
-;; is also supported by default as an alternative action.
+;; `so-long' and `so-long-revert' will do, enabling you to configure
alternative
+;; actions (including custom actions). As well as the major and minor mode
+;; actions provided by this library, `longlines-mode' is also supported by
+;; default as an alternative action.
;;
;; Note that while the measures taken can improve performance dramatically when
;; dealing with such files, this library does not have any effect on the
@@ -152,7 +153,7 @@
;; * Files with a file-local 'mode'
;; --------------------------------
;; A file-local major mode is likely to be safe even if long lines are detected
-;; (as the author of the file would otherwise be unlikely to have set that
mode),
+;; (the author of the file would otherwise be unlikely to have set that mode),
;; and so these files are treated as special cases. When a file-local 'mode'
is
;; present, the function defined by the `so-long-file-local-mode-function' user
;; option is called. The default value will cause the `so-long-minor-mode'
@@ -1191,7 +1192,8 @@ This minor mode is a standard `so-long-action' option."
;; Housekeeping. `so-long-minor-mode' might be invoked directly rather
;; than via `so-long', so replicate the necessary behaviours. The
minor
;; mode also cares about whether `so-long' was already active, as we do
- ;; not want to remember values which were potentially overridden
already.
+ ;; not want to remember values which were (potentially) overridden
+ ;; already.
(unless (or so-long--calling so-long--active)
(so-long--ensure-enabled)
(setq so-long--active t
- branch scratch/so-long created (now ee03831), Phil Sainty, 2021/03/20
- scratch/so-long 5e414a4 01/10: ; * lisp/so-long.el: Documentation,
Phil Sainty <=
- scratch/so-long 99dd121 03/10: Increase `so-long-threshold' and `so-long-max-lines' defaults, Phil Sainty, 2021/03/20
- scratch/so-long 8b5667f 04/10: Make `global-so-long-mode' handle unrecognised file types, Phil Sainty, 2021/03/20
- scratch/so-long 723bf5d 06/10: ; * lisp/so-long.el: Minor bug fixes, Phil Sainty, 2021/03/20
- scratch/so-long 62e46bf 07/10: ; so-long-tests.el: Suppress expected warnings, Phil Sainty, 2021/03/20
- scratch/so-long 1ed2008 02/10: ; * lisp/so-long.el: Bump to version 1.1, Phil Sainty, 2021/03/20
- scratch/so-long a2f2790 05/10: * lisp/so-long.el (so-long-minor-modes): Add smartparens modes, Phil Sainty, 2021/03/20
- scratch/so-long ee03831 10/10: WIP: Update tests to cover usage of `buffer-line-statistics', Phil Sainty, 2021/03/20
- scratch/so-long 31843e5 09/10: WIP: Use `buffer-line-statistics', Phil Sainty, 2021/03/20
- scratch/so-long 6edeae3 08/10: Support 'preserved' variables and minor modes in `so-long-mode', Phil Sainty, 2021/03/20