Variable: visual-line-fringe-indicators
visual-line-fringe-indicators is a customizable variable defined in
simple.el.gz.
Value
(nil nil)
Documentation
How fringe indicators are shown for wrapped lines in visual-line-mode(var)/visual-line-mode(fun).
The value should be a list of the form (LEFT RIGHT), where LEFT
and RIGHT are symbols representing the bitmaps to display, to
indicate wrapped lines, in the left and right fringes respectively.
See also fringe-indicator-alist.
The default is not to display fringe indicators for wrapped lines.
This variable does not affect fringe indicators displayed for
other purposes.
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defcustom visual-line-fringe-indicators '(nil nil)
"How fringe indicators are shown for wrapped lines in `visual-line-mode'.
The value should be a list of the form (LEFT RIGHT), where LEFT
and RIGHT are symbols representing the bitmaps to display, to
indicate wrapped lines, in the left and right fringes respectively.
See also `fringe-indicator-alist'.
The default is not to display fringe indicators for wrapped lines.
This variable does not affect fringe indicators displayed for
other purposes."
:type '(list (choice (const :tag "Hide left indicator" nil)
(const :tag "Left curly arrow" left-curly-arrow)
(symbol :tag "Other bitmap"))
(choice (const :tag "Hide right indicator" nil)
(const :tag "Right curly arrow" right-curly-arrow)
(symbol :tag "Other bitmap")))
:set (lambda (symbol value)
(dolist (buf (buffer-list))
(with-current-buffer buf
(when (and (boundp 'visual-line-mode)
(symbol-value 'visual-line-mode))
(setq fringe-indicator-alist
(cons (cons 'continuation value)
(assq-delete-all
'continuation
(copy-tree fringe-indicator-alist)))))))
(set-default symbol value)))