aboutsummaryrefslogtreecommitdiff
path: root/xsrc/external/mit/xterm/dist/patch-dabbrev-word-constituent
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-27 22:34:51 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-27 22:34:51 +0200
commit03be217ffbef2ad6a8e32dc5c9b332078af737b1 (patch)
tree2176faf79b65e53080a3a7690c35f76d5a6108cd /xsrc/external/mit/xterm/dist/patch-dabbrev-word-constituent
parent2a988d33c5e48a2e4a6d004df84628890bb41f29 (diff)
downloadpatches-master.tar.gz
xterm: Add patch-dabbrev-word-constituentHEADmaster
Diffstat (limited to 'xsrc/external/mit/xterm/dist/patch-dabbrev-word-constituent')
-rw-r--r--xsrc/external/mit/xterm/dist/patch-dabbrev-word-constituent21
1 files changed, 21 insertions, 0 deletions
diff --git a/xsrc/external/mit/xterm/dist/patch-dabbrev-word-constituent b/xsrc/external/mit/xterm/dist/patch-dabbrev-word-constituent
new file mode 100644
index 0000000..2b5352b
--- /dev/null
+++ b/xsrc/external/mit/xterm/dist/patch-dabbrev-word-constituent
@@ -0,0 +1,21 @@
+$NetBSD$
+
+--- misc.c.orig 2021-07-26 22:58:23.130598917 +0000
++++ misc.c
+@@ -1374,7 +1374,15 @@ WMFrameWindow(XtermWidget xw)
+ * (Tomasz J. Cholewo, t.cholewo@ieee.org)
+ */
+
+-#define IS_WORD_CONSTITUENT(x) ((x) != ' ' && (x) != '\0')
++#define IS_WORD_CONSTITUENT(x) ( \
++ (x) != '\'' && \
++ (x) != '"' && \
++ (x) != ':' && \
++ (x) != ';' && \
++ (x) != '#' && \
++ (x) != '(' && \
++ (x) != ')' && \
++ (x) != ' ' && (x) != '\0')
+
+ static int
+ dabbrev_prev_char(TScreen *screen, CELL *cell, LineData **ld)