summaryrefslogtreecommitdiff
path: root/personal/itches.md
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2018-12-21 12:12:19 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2018-12-21 12:13:02 +0100
commit0f8d865678036878ec21e598ab3eaef61bc50745 (patch)
treefa4e54496a667d6898fe95bec4ef6bfb813602f5 /personal/itches.md
parent25c9c5deffe1d095a7521b13ece3d76b4390a400 (diff)
downloadmemory-leaks-0f8d865678036878ec21e598ab3eaef61bc50745.tar.xz
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.
Diffstat (limited to 'personal/itches.md')
-rw-r--r--personal/itches.md13
1 files changed, 13 insertions, 0 deletions
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