aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2021-03-02 12:26:49 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2021-03-02 12:26:49 +0900
commit0383c95c30360e1c601a0a2279497111db5984f2 (patch)
treeea160f27b78f1c13fbfdb27a82146380bfb061f8
parent61ec5e1396ecc3dcebfd9f3064f1a92575befde4 (diff)
exwm: Fix `exwm-rename-buffer` function
-rw-r--r--.exwm2
1 files changed, 1 insertions, 1 deletions
diff --git a/.exwm b/.exwm
index a02b338..a659740 100644
--- a/.exwm
+++ b/.exwm
@@ -36,7 +36,7 @@
(interactive)
(exwm-workspace-rename-buffer
(concat exwm-class-name ":"
- (if (or (stringp exwm-title)
+ (if (or (not (stringp exwm-title))
(<= (string-width exwm-title) 50))
exwm-title
(concat (truncate-exwm-title exwm-title) "…")))))