From: Chong Yidong Date: Mon, 21 Jul 2008 18:14:23 +0000 (+0000) Subject: (visual-line-mode): Disable truncate-partial-width-windows. X-Git-Tag: emacs-pretest-23.0.90~4015 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c58140f4b04f96d7aea24f035c33f3385992c76b;p=emacs.git (visual-line-mode): Disable truncate-partial-width-windows. --- diff --git a/lisp/simple.el b/lisp/simple.el index 66541973a7e..c242f46bb89 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -4516,12 +4516,16 @@ This also turns on `word-wrap' in the buffer." (if visual-line-mode (progn (set (make-local-variable 'line-move-visual) t) - (setq word-wrap t) - (setq fringe-indicator-alist + (set (make-local-variable 'truncate-partial-width-windows) nil) + (setq truncate-lines nil + word-wrap t + fringe-indicator-alist (cons (cons 'continuation visual-line-fringe-indicators) fringe-indicator-alist))) (kill-local-variable 'line-move-visual) (kill-local-variable 'word-wrap) + (kill-local-variable 'truncate-lines) + (kill-local-variable 'truncate-partial-width-windows) (kill-local-variable 'fringe-indicator-alist))) (defun turn-on-visual-line-mode ()