branch: externals/boxy
commit c00c3ff64ffc97b0826ed64523f759cb1264ae06
Author: Amy Grinn <grinn....@gmail.com>
Commit: Amy Grinn <grinn....@gmail.com>

    Fixes 'Warning: Unknown type: boxy-relationship'
---
 boxy.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/boxy.el b/boxy.el
index b204fe498c..a18f895cc5 100644
--- a/boxy.el
+++ b/boxy.el
@@ -207,9 +207,8 @@
 
 ;;;; Custom types
 
-(defun boxy-relationship-p (str)
-  "Return t if STR is a boxy relationship, nil otherwise."
-  (member str boxy-relationships))
+(cl-deftype boxy-relationship (&optional _)
+  '(satisfies (lambda (rel) (member rel boxy-relationships))))
 
 ;;;; Boxy mode
 

Reply via email to