* lisp/filenotify.el: Require subr-x.
(file-notify-callback): Use equal, not eq.
;;; Code:
(require 'cl-lib)
+(require 'subr-x)
(defconst file-notify--library
(cond
;; Send pending event, if it doesn't match.
(when (and file-notify--pending-event
;; The cookie doesn't match.
- (not (eq (file-notify--event-cookie
- (car file-notify--pending-event))
- (file-notify--event-cookie event)))
+ (not (equal (file-notify--event-cookie
+ (car file-notify--pending-event))
+ (file-notify--event-cookie event)))
(or
;; inotify.
(and (eq (nth 1 (car file-notify--pending-event))