Commit b9b044b
repl: change preview default in case of custom eval functions
Custom eval functions might have a very different behavior than the
current implementation and having a preview in such case might be
confusing. This changes the preview default to `false` in case a
custom eval function is used. It is still possible to opt into using
the previews in case that's still desirable.
PR-URL: #31259
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 0271457 commit b9b044bCopy full SHA for b9b044b
Expand file treeCollapse file tree
2 files changed
+5
-3
lines changedOpen diff view settings
Collapse file
+3-2Lines changed: 3 additions & 2 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
597 | 597 | |
598 | 598 | |
599 | 599 | |
600 | | - |
601 | | - |
| 600 | + |
| 601 | + |
| 602 | + |
602 | 603 | |
603 | 604 | |
604 | 605 | |
|
Collapse file
+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
213 | 213 | |
214 | 214 | |
215 | 215 | |
| 216 | + |
216 | 217 | |
217 | | - |
| 218 | + |
218 | 219 | |
219 | 220 | |
220 | 221 | |
|
0 commit comments