Function: filesets-filetype-property
filesets-filetype-property is a byte-compiled function defined in
filesets.el.gz.
Signature
(filesets-filetype-property FILENAME EVENT &optional ENTRY)
Documentation
Return non-nil if a file of a specific type has special flags/tags.
Events (corresponding tag):
on-open-all (:ignore-on-open-all) ... Exclude files of this when opening a fileset
on-grep (:ignore-on-read-text) ... Exclude files of this when running the "Grep <<selection>>" command
on-capture-output (:capture-output) ... Capture output of an external viewer
on-ls ... Not used
on-cmd ... Not used
on-close-all ... Not used
Source Code
;; Defined in /usr/src/emacs/lisp/filesets.el.gz
(defun filesets-filetype-property (filename event &optional entry)
"Return non-nil if a file of a specific type has special flags/tags.
Events (corresponding tag):
on-open-all (:ignore-on-open-all) ... Exclude files of this when opening
a fileset
on-grep (:ignore-on-read-text) ... Exclude files of this when running
the \"Grep <<selection>>\" command
on-capture-output (:capture-output) ... Capture output of an external viewer
on-ls ... Not used
on-cmd ... Not used
on-close-all ... Not used"
(let ((def (filesets-eviewer-get-props
(or entry
(filesets-get-external-viewer filename)))))
(filesets-alist-get def
(pcase event
('on-open-all ':ignore-on-open-all)
('on-grep ':ignore-on-read-text)
('on-cmd nil)
('on-close-all nil))
nil t)))