Function: file-notify--watch-callback

file-notify--watch-callback is a byte-compiled function defined in filenotify.el.gz.

Signature

(file-notify--watch-callback file-notify--watch-callback X)

Documentation

Access slot "callback" of file-notify--watch struct X.

Source Code

;; Defined in /usr/src/emacs/lisp/filenotify.el.gz
(cl-defstruct (file-notify--watch
               (:constructor nil)
               (:constructor
                file-notify--watch-make (directory filename callback)))
  "The internal struct for bookkeeping watched files or directories.
Used in `file-notify-descriptors'."
  ;; Watched directory.
  directory
  ;; Watched relative filename, nil if watching the directory.
  filename
  ;; Function to propagate events to, or nil if watch is being removed.
  callback)