From adf8e24cde256375dd5098e0197a84282dc00bc9 Mon Sep 17 00:00:00 2001 From: Phil Sainty Date: Sat, 13 Jul 2019 23:43:26 +1200 Subject: [PATCH] * lisp/so-long.el (so-long-variable-overrides): Improve doc Explain the 'line-move-visual' and 'truncate-lines' values. --- lisp/so-long.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) -- 2.39.2