]> git.eshelyaron.com Git - emacs.git/commitdiff
Add text properties to newlines used to unwrap long lines.
authorJohn Shahid <jvshahid@gmail.com>
Tue, 26 Feb 2019 06:06:53 +0000 (01:06 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 27 Feb 2019 13:53:14 +0000 (08:53 -0500)
* lisp/term.el (term-emulate-terminal): do it.

lisp/term.el

index e759bb8e4fd4dbf8ab6fe3c7468cb497eeca72f9..693362cc734df0975a7f11a0807fbfc995fd0036 100644 (file)
@@ -2935,6 +2935,7 @@ See `term-prompt-regexp'."
                       (delete-region (point) (line-end-position))
                       (term-down 1 t)
                       (term-move-columns (- (term-current-column)))
+                      (put-text-property (1- (point)) (point) 'term-line-wrap t)
                       (setq decoded-substring
                             (substring decoded-substring (- term-width old-column)))
                       (setq old-column 0)))