(while (not (eq sexp (setq sexp (edebug-unwrap sexp)))))
(cond
((consp sexp)
- (or (gethash sexp edebug--unwrap-cache nil)
+ (or (gethash sexp edebug--unwrap-cache)
(let ((remainder sexp)
(current (cons nil nil)))
(prog1 current
(setf (cdr current)
(edebug-unwrap* remainder))
nil)
- ((gethash remainder edebug--unwrap-cache nil)
- (setf (cdr current) (gethash remainder edebug--unwrap-cache nil))
+ ((gethash remainder edebug--unwrap-cache)
+ (setf (cdr current) (gethash remainder edebug--unwrap-cache))
nil)
(t (setq current
(setf (cdr current) (cons nil nil)))))))))))
vectors as well as conses."
(if (and (atom obj) (or (not vecp) (not (vectorp obj))))
obj
- (let ((copy (gethash obj hash-table nil)))
+ (let ((copy (gethash obj hash-table)))
(unless copy
(cond
((consp obj)
(testcover--copy-object1 rest vecp hash-table))
nil)
((gethash rest hash-table nil)
- (setf (cdr current) (gethash rest hash-table nil))
+ (setf (cdr current) (gethash rest hash-table))
nil)
(t (setq current
(setf (cdr current) (cons nil nil)))))))))
(INTERFACE PROTOCOL NAME TYPE DOMAIN FLAGS)."
;; Due to the service browser, all known services are kept in
;; `zeroconf-services-hash'.
- (gethash (concat name "/" type) zeroconf-services-hash nil))
+ (gethash (concat name "/" type) zeroconf-services-hash))
(defvar dbus-debug)
(or
;; Check whether we know this service already.
- (gethash key zeroconf-resolved-services-hash nil)
+ (gethash key zeroconf-resolved-services-hash)
;; Resolve the service. We don't propagate D-Bus errors.
(dbus-ignore-errors
(defun zeroconf-register-service-browser (type)
"Register a service browser at the Avahi daemon."
- (or (gethash type zeroconf-path-avahi-service-browser-hash nil)
+ (or (gethash type zeroconf-path-avahi-service-browser-hash)
(puthash type
(dbus-call-method
:system zeroconf-service-avahi zeroconf-path-avahi
(let* ((name (zeroconf-service-name val))
(type (zeroconf-service-type val))
(key (concat name "/" type))
- (ahook (gethash type zeroconf-service-added-hooks-hash nil))
- (rhook (gethash type zeroconf-service-removed-hooks-hash nil)))
+ (ahook (gethash type zeroconf-service-added-hooks-hash))
+ (rhook (gethash type zeroconf-service-removed-hooks-hash)))
(cond
((string-equal (dbus-event-member-name last-input-event) "ItemNew")
;; Add new service.
(defun zeroconf-register-service-resolver (name type)
"Register a service resolver at the Avahi daemon."
(let ((key (concat name "/" type)))
- (or (gethash key zeroconf-path-avahi-service-resolver-hash nil)
+ (or (gethash key zeroconf-path-avahi-service-resolver-hash)
(puthash key
(dbus-call-method
:system zeroconf-service-avahi zeroconf-path-avahi