]> git.eshelyaron.com Git - emacs.git/commit
Adjust line wrapping on window resize and killing text
authorJohn Shahid <jvshahid@gmail.com>
Mon, 21 Jan 2019 00:08:17 +0000 (19:08 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 24 Feb 2019 20:45:01 +0000 (15:45 -0500)
commit467e6ccb85e89cbfaccb25bb392d24a0511044fc
treefa10d9f7e4b25b1e3ab70cf9ed6d8bde096a2df2
parent28f7e981c10cddd06b879a79ade214f273ba4498
Adjust line wrapping on window resize and killing text

* lisp/term.el (term-mode): Advice filter-buffer-substring-function to
remove line unwrapping from killed text.
(term-reset-size): Add or remove line unwrapping depending on the new
terminal width.
(term-suppress-hard-newline): Mark obsolete.
(term-unwrap-line): Use text properties to be able to find the
newlines later.
lisp/term.el