(declare (important-return-value t))
(string-trim-left (string-trim-right string trim-right) trim-left))
-(defsubst hash-table-contains-p (key table)
- "Return non-nil if TABLE has an element with KEY."
- (declare (side-effect-free t)
- (important-return-value t))
- (let ((missing (make-symbol "missing")))
+(let ((missing (make-symbol "missing")))
+ (defsubst hash-table-contains-p (key table)
+ "Return non-nil if TABLE has an element with KEY."
+ (declare (side-effect-free t)
+ (important-return-value t))
(not (eq (gethash key table missing) missing))))
;; The initial anchoring is for better performance in searching matches.