From 0f8d865678036878ec21e598ab3eaef61bc50745 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Fri, 21 Dec 2018 12:12:19 +0100 Subject: Add itch (with patch) on page-break-lines I'd send the pull-request right away, but the Internet connection is so bad in this bakery I can't even clone the repository. --- personal/itches.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'personal') diff --git a/personal/itches.md b/personal/itches.md index 9725c99..22cfed3 100644 --- a/personal/itches.md +++ b/personal/itches.md @@ -398,6 +398,19 @@ Full disclosure ### page-break-lines - borked in magit-diff +- cannot turn off when major-mode is derived from one of + page-break-lines-modes; pull-request pending: + + ``` diff + @@ -138,7 +138,7 @@ + (new-display-entry (vconcat (make-list width glyph)))) + (unless (equal new-display-entry (elt buffer-display-table ?\^L)) + (aset buffer-display-table ?\^L new-display-entry))))) + - (when (and (member major-mode page-break-lines-modes) + + (when (and (apply 'derived-mode-p page-break-lines-modes) + buffer-display-table) + (aset buffer-display-table ?\^L nil)))))) + ``` ### diff-hl -- cgit v1.2.3