We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9db0cee commit abe972aCopy full SHA for abe972a
nrepl-dict.el
@@ -45,12 +45,11 @@
45
(maphash (lambda (k v) (nrepl-dict-put dict k v)) hash)
46
dict))
47
48
-(defun nrepl-dict-p (object)
+(defsubst nrepl-dict-p (object)
49
"Return t if OBJECT is an nREPL dict."
50
- (and (listp object)
51
- (eq (car object) 'dict)))
+ (eq (car-safe object) 'dict))
52
53
-(defun nrepl-dict-empty-p (dict)
+(defsubst nrepl-dict-empty-p (dict)
54
"Return t if nREPL dict DICT is empty."
55
(null (cdr dict)))
56
0 commit comments