aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-08-15 21:13:07 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-08-15 21:13:07 +0200
commit8226df7623a4697ec85d92bd0d508ad4c1bb4a0d (patch)
tree001c57b6dfad187de24cf63dd0195caa0305fdf3 /lisp
parenta72f227f2c371f838f189c12ea79442fd5572de0 (diff)
filter kw table: en dashes if possible
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-views.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/mastodon-views.el b/lisp/mastodon-views.el
index 608d13f..411d2d2 100644
--- a/lisp/mastodon-views.el
+++ b/lisp/mastodon-views.el
@@ -600,6 +600,9 @@ JSON is the filters data."
"Insert filter keywords KWS."
(insert "\n\n")
(let ((beg (point))
+ (table-cell-horizontal-chars (if (char-displayable-p ?–) ; ?– ?-)
+ "–"
+ "-"))
(whole-str "whole-words-only:"))
(insert (concat "Terms: | " whole-str "\n"))
(mapc (lambda (kw)