summaryrefslogtreecommitdiff
path: root/src/wasp-soundboard.el
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-11-07 00:20:02 -0500
committerLLLL Colonq <llll@colonq>2025-11-07 00:20:02 -0500
commitcf266a56f30daae8b9af7c9bc3267c61b1973192 (patch)
treef365939f712973840ff19d9265c552af820cd1ef /src/wasp-soundboard.el
parent3d31c488fb06e9937964041f4d83d0cb1c9699ab (diff)
Update
Diffstat (limited to 'src/wasp-soundboard.el')
-rw-r--r--src/wasp-soundboard.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasp-soundboard.el b/src/wasp-soundboard.el
index a6db32e5..641c7206 100644
--- a/src/wasp-soundboard.el
+++ b/src/wasp-soundboard.el
@@ -15,6 +15,7 @@
"Find soundboard paths matching PAT."
(let ((base (w/asset "soundboard")))
(cond
+ ((s-contains? ".." pat) nil)
((f-dir? (f-join base pat)) (f-entries (f-join base pat) #'f-file? t))
(t (f-glob (s-concat pat "*") base)))))