Function: file-notify-rm-all-watches

file-notify-rm-all-watches is an interactive and byte-compiled function defined in filenotify.el.gz.

Signature

(file-notify-rm-all-watches)

Documentation

Remove all existing file notification watches from Emacs.

View in manual

Probably introduced at or before Emacs version 29.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/filenotify.el.gz
(defun file-notify-rm-all-watches ()
  "Remove all existing file notification watches from Emacs."
  (interactive)
  (maphash
   (lambda (key _value)
     (file-notify-rm-watch key))
   file-notify-descriptors))