It seems like the variable fringe-indicator-alist
can be modified to hide the line-wrap indicators on the edges / fringe of the window.
I am having trouble getting this to work properly in the GUI of emacs on MacOS.
I added the following to my init.el
, but the changes are not having an effect. Is there something wrong with the way I'm trying to update the values?
Specifically, I want to change continuation
to nil nil
.
(setq fringe-indicator-alist '((truncation nil nil)
(continuation nil nil)
(overlay-arrow . right-triangle)
(up . up-arrow)
(down . down-arrow)
(top top-left-angle top-right-angle)
(bottom bottom-left-angle bottom-right-angle top-right-angle top-left-angle)
(top-bottom left-bracket right-bracket top-right-angle top-left-angle)
(empty-line . empty-line)
(unknown . question-mark)))
.emacs
. Open a GUI version of Emacs, in this case 27.2-3 downloaded from emacsformacosx.com . The default buffer that is visible is*GNU Emacs*
. The line "GNU Emacs 27.2 (build 1, x86_64-apple-darwin15.6.0, NS appkit-1404.47 Version 10.11.6 (Build 15G22010))" is wrapped. I evaluate(setq truncate-lines t)
and the aforementioned line of text is now continued beyond the length of the screen, and there is a right-arrow visible in the fringe. Then, I evaluate the code posted by the O.P. in the question above, and the right-arrow (continuation) disappears.