summaryrefslogtreecommitdiff
path: root/lisp/so-long.el
diff options
context:
space:
mode:
authorPhil Sainty <psainty@orcon.net.nz>2019-07-13 23:43:26 +1200
committerPhil Sainty <psainty@orcon.net.nz>2019-07-13 23:56:19 +1200
commitadf8e24cde256375dd5098e0197a84282dc00bc9 (patch)
tree0b146237e5ec387e4960bd101bcc00de7216bb7c /lisp/so-long.el
parentc428aaf0937a2c1939217e71fa5302d1d6f192f4 (diff)
downloademacs-adf8e24cde256375dd5098e0197a84282dc00bc9.tar.gz
* lisp/so-long.el (so-long-variable-overrides): Improve doc
Explain the 'line-move-visual' and 'truncate-lines' values.
Diffstat (limited to 'lisp/so-long.el')
-rw-r--r--lisp/so-long.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/so-long.el b/lisp/so-long.el
index 0f86bc70813..59c719a4ee5 100644
--- a/lisp/so-long.el
+++ b/lisp/so-long.el
@@ -739,7 +739,12 @@ The variables are given buffer-local values. By default this happens if
`so-long-action' is set to either `so-long-mode' or `so-long-minor-mode'.
If `so-long-revert' is subsequently invoked, then the variables are restored
-to their original states."
+to their original states.
+
+The combination of `line-move-visual' (enabled) and `truncate-lines' (disabled)
+is important for avoiding performance hits when moving vertically between
+excessively long lines, as otherwise the full length of the line may need to be
+scanned to find the next position."
:type '(alist :key-type (variable :tag "Variable")
:value-type (sexp :tag "Value"))
:options '((bidi-paragraph-direction (choice (const left-to-right)