%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/savehist.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\302\303\304\305\306\307\310\311&\210\312\313\314\315\316DD\317\320\321%\210\312\322\314\315\323DD\324\320\325%\210\312\326\314\315\327DD\330\320\331%\210\312\332\314\315\333DD\334\320\335%\210\312\336\314\315\337DD\340\320\341%\210\312\342\314\315\343DD\344\320\345%\210\312\346\314\315\347DD\350\320\351%\210\312\352\314\315\353DD\354\320\351%\207" [require custom custom-declare-group savehist nil "Save minibuffer history." :version "22.1" :group minibuffer custom-declare-variable savehist-save-minibuffer-history funcall function #[0 "\300\207" [t] 1] "If non-nil, save all recorded minibuffer histories.\nIf you want to save only specific histories, use `savehist-save-hook'\nto modify the value of `savehist-minibuffer-history-variables'." :type boolean savehist-additional-variables #[0 "\300\207" [nil] 1] "List of additional variables to save.\nEach element is a symbol whose value will be persisted across Emacs\nsessions that use Savehist. The contents of variables should be\nprintable with the Lisp printer. You don't need to add minibuffer\nhistory variables to this list, all minibuffer histories will be\nsaved automatically as long as `savehist-save-minibuffer-history' is\nnon-nil.\n\nUser options should be saved with the Customize interface. This\nlist is useful for saving automatically updated variables that are not\nminibuffer histories, such as `compile-command' or `kill-ring'." (repeat variable) savehist-ignored-variables #[0 "\300\207" [nil] 1] "List of additional variables not to save." (repeat variable) savehist-file #[0 "\300\301\302\"\207" [locate-user-emacs-file "history" ".emacs-history"] 3] "File name where minibuffer history is saved to and loaded from.\nThe minibuffer history is a series of Lisp expressions loaded\nautomatically when Savehist mode is turned on. See `savehist-mode'\nfor more details." file savehist-file-modes #[0 "\300\207" [384] 1] "Default permissions of the history file.\nThis is decimal, not octal. The default is 384 (0600 in octal).\nSet to nil to use the default permissions that Emacs uses, typically\nmandated by umask. The default is a bit more restrictive to protect\nthe user's privacy." integer savehist-autosave-interval #[0 "\300\207" [300] 1] "The interval between autosaves of minibuffer history.\nIf set to nil, disables timer-based autosaving." (choice (const :tag "Disabled" nil) (integer :tag "Seconds")) savehist-mode-hook #[0 "\300\207" [nil] 1] "Hook called when Savehist mode is turned on." hook savehist-save-hook #[0 "\300\207" [nil] 1] "Hook called by `savehist-save' before saving the variables.\nYou can use this hook to influence choice and content of variables\nto save."] 8) #@184 The coding system Savehist uses for saving the minibuffer history. Changing this value while Emacs is running is supported, but considered unwise, unless you know what you are doing. (defvar savehist-coding-system 'utf-8-unix (#$ . 3114)) (defvar savehist-timer nil) (defvar savehist-last-checksum nil) #@226 List of minibuffer histories. The contents of this variable is built while Emacs is running, and saved along with minibuffer history. You can change its value off `savehist-save-hook' to influence which variables are saved. (defvar savehist-minibuffer-history-variables nil (#$ . 3424)) #@128 Whether the history has already been loaded. This prevents toggling Savehist mode from destroying existing minibuffer history. (defvar savehist-loaded nil (#$ . 3719)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313\314\315&\207" [custom-declare-variable savehist-mode funcall function #[0 "\300\207" [nil] 1] "Non-nil if Savehist mode is enabled.\nSee the `savehist-mode' command\nfor a description of this minor mode.\nSetting this variable directly does not take effect;\neither customize it (see the info node `Easy Customization')\nor call the function `savehist-mode'." :set custom-set-minor-mode :initialize custom-initialize-default :group savehist :type boolean] 12) #@1533 Toggle saving of minibuffer history (Savehist mode). If called interactively, enable Savehist mode if ARG is positive, and disable it if ARG is zero or negative. If called from Lisp, also enable the mode if ARG is omitted or nil, and toggle it if ARG is `toggle'; disable the mode otherwise. When Savehist mode is enabled, minibuffer history is saved to `savehist-file' periodically and when exiting Emacs. When Savehist mode is enabled for the first time in an Emacs session, it loads the previous minibuffer histories from `savehist-file'. The variable `savehist-autosave-interval' controls the periodicity of saving minibuffer histories. If `savehist-save-minibuffer-history' is non-nil (the default), all recorded minibuffer histories will be saved. You can arrange for additional history variables to be saved and restored by customizing `savehist-additional-variables', which by default is an empty list. For example, to save the history of commands invoked via \[execute-extended-command], add `command-history' to the list in `savehist-additional-variables'. Alternatively, you could customize `savehist-save-minibuffer-history' to nil, and add to `savehist-additional-variables' only those history variables you want to save. To ignore some history variables, add their symbols to the list in `savehist-ignored-variables'. This mode should normally be turned on from your Emacs init file. Calling it at any other time replaces your current minibuffer histories, which is probably undesirable. (fn &optional ARG) (defalias 'savehist-mode #[256 "\303 \304\300\305=\203 \306\300!?\202 \307!\310V\"\210\204\"