Function: make-file-notify--cmacro
make-file-notify--cmacro is a function defined in filenotify.el.gz.
Signature
(make-file-notify--cmacro CL-WHOLE &cl-quote &key -EVENT -CALLBACK)
Documentation
compiler-macro for make-file-notify.
Source Code
;; Defined in /usr/src/emacs/lisp/filenotify.el.gz
;; Could not find source code, showing raw function object.
#[(cl-whole &rest --cl-rest--)
((let*
((-event (car (cdr (plist-member --cl-rest-- ':-event))))
(-callback (car (cdr (plist-member --cl-rest-- ':-callback)))))
(progn
(let ((--cl-keys-- --cl-rest--))
(while --cl-keys--
(cond
((memq (car --cl-keys--)
'(:-event :-callback :allow-other-keys))
(unless (cdr --cl-keys--)
(error "Missing argument for %s" (car --cl-keys--)))
(setq --cl-keys-- (cdr (cdr --cl-keys--))))
((car (cdr (memq ':allow-other-keys --cl-rest--)))
(setq --cl-keys-- nil))
(t
(error
"Keyword argument %S not one of (:-event :-callback)"
(car --cl-keys--))))))
(cl-block make-file-notify--cmacro
(cl--defsubst-expand '(-event -callback)
'(cl-block make-file-notify
(list 'file-notify -event -callback))
nil cl-whole nil -event -callback)))))
(cl-struct-file-notify-tags) nil
"compiler-macro for `make-file-notify'.\n\n(fn CL-WHOLE &cl-quote &key -EVENT -CALLBACK)"]