Variable: filesets-open-file-function

filesets-open-file-function is a customizable variable defined in filesets.el.gz.

Value

filesets-find-or-display-file

Documentation

The function used for opening files.

filesets-find-or-display-file ... Filesets' default function for visiting files. This function checks if an external viewer is defined for a specific file type. Either this viewer, if defined, or find-file will be used to visit a file.

filesets-find-file ... An alternative function that always uses find-file. If filesets-be-docile-flag is true, a file, which isn't readable, will not be opened.

Caveat: Changes will take effect only after rebuilding the menu.

Source Code

;; Defined in /usr/src/emacs/lisp/filesets.el.gz
(defcustom filesets-open-file-function #'filesets-find-or-display-file
  "The function used for opening files.

`filesets-find-or-display-file' ... Filesets' default function for
visiting files.  This function checks if an external viewer is defined
for a specific file type.  Either this viewer, if defined, or
`find-file' will be used to visit a file.

`filesets-find-file' ... An alternative function that always uses
`find-file'.  If `filesets-be-docile-flag' is true, a file, which isn't
readable, will not be opened.

Caveat: Changes will take effect only after rebuilding the menu."
  :set #'filesets-set-default
  :type '(choice :tag "Function:"
		 (const :tag "filesets-find-or-display-file"
			:value filesets-find-or-display-file)
		 (const :tag "filesets-find-file"
			:value filesets-find-file)
		 (function :tag "Function"
			   :value nil)))