Variable: filesets-cache-fill-content-hook

filesets-cache-fill-content-hook is a customizable variable defined in filesets.el.gz.

Value

nil

Documentation

Hook run when writing the contents of filesets' cache file.

The hook is called with the cache file as current buffer and the cursor at the last position. I.e. each hook has to make sure that the cursor is at the last position.

Possible uses: If you don't want to save filesets-data in your normal configuration file, you can add a something like this

(lambda ()
(insert (format "(setq-default filesets-data \\='%S)"
filesets-data))
(newline 2))

to this hook.

Don't forget to check out filesets-menu-ensure-use-cached.

Probably introduced at or before Emacs version 24.3.

Aliases

filesets-cache-fill-content-hooks (obsolete since 24.3)

Source Code

;; Defined in /usr/src/emacs/lisp/filesets.el.gz
(defcustom filesets-cache-fill-content-hook nil
  "Hook run when writing the contents of filesets' cache file.

The hook is called with the cache file as current buffer and the cursor
at the last position.  I.e. each hook has to make sure that the cursor is
at the last position.

Possible uses: If you don't want to save `filesets-data' in your normal
configuration file, you can add a something like this

	(lambda ()
	      (insert (format \"(setq-default filesets-data \\='%S)\"
			      filesets-data))
	      (newline 2))

to this hook.

Don't forget to check out `filesets-menu-ensure-use-cached'."
  :set #'filesets-set-default
  :type 'hook)