Current File : //proc/thread-self/root/kunden/usr/share/emacs/27.2/lisp/autorevert.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\300\302!\210\300\303!\210\304\305\306\307\310\311\310\312&\207" [require cl-lib timer filenotify custom-declare-group auto-revert nil "Revert individual buffers when files on disk change.\nAuto-Revert Mode enables auto-revert in individual buffers.\nGlobal Auto-Revert Mode does so in all buffers." :group files convenience] 8)
#@120 Non-nil when Auto-Revert Mode is active.
Never set this variable directly, use the command `auto-revert-mode' instead.
(defvar auto-revert-mode nil (#$ . 764))
(put 'auto-revert-mode 'permanent-local t)
#@130 Non-nil when Auto-Revert Tail Mode is active.
Never set this variable directly, use the command
`auto-revert-tail-mode' instead.
(defvar auto-revert-tail-mode nil (#$ . 974))
(put 'auto-revert-tail-mode 'permanent-local t)
#@33 Timer used by Auto-Revert Mode.
(defvar auto-revert-timer nil (#$ . 1203))
(byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \210\300\314\302\303\315DD\316\306\307\310\317&\210\300\320\302\303\321DD\322\306\307\310\317&\210\300\323\302\303\324DD\325\326\327\306\307\310\330& \210\300\331\302\303\332DD\333\306\307\310\330\334\335& \210\300\336\302\303\337DD\340\326\341\306\307\310\342& \210\300\343\302\303\344DD\345\306\307\310\330&\210\300\346\302\303\347DD\350\306\307\310\342&\210\300\351\302\303\352DD\353\306\307\310\317\354\355& \210\300\356\302\303\357DD\360\306\307\310\361&\210\300\362\302\303\363DD\364\326\365\306\307\310\342& \210\300\366\302\303\367DD\370\306\307\310\317\334\335& \207" [custom-declare-variable auto-revert-interval funcall function #[0 "\300\207" [5] 1] "Time, in seconds, between Auto-Revert Mode file checks.\nThe value may be an integer or floating point number.\n\nIf a timer is already active, there are two ways to make sure\nthat the new value will take effect immediately. You can set\nthis variable through Custom or you can call the command\n`auto-revert-set-timer' after setting the variable. Otherwise,\nthe new value will take effect the first time Auto-Revert Mode\ncalls `auto-revert-set-timer' for internal reasons or in your\nnext editing session." :group auto-revert :type number :set #[514 "\301\"\210\302\300!\205 \205 \303 \207" [auto-revert-timer set-default boundp auto-revert-set-timer] 5 "\n\n(fn VARIABLE VALUE)"] auto-revert-stop-on-user-input #[0 "\300\207" [t] 1] "When non-nil, user input temporarily interrupts Auto-Revert Mode.\nWith this setting, Auto-Revert Mode checks for user input after\nhandling each buffer and does not process any further buffers\n(until the next run of the timer) if user input is available.\nWhen nil, Auto-Revert Mode checks files and reverts buffers,\nwith quitting disabled, without paying attention to user input.\nThus, with this setting, Emacs might be non-responsive at times." boolean auto-revert-verbose #[0 "\300\207" [t] 1] "When nil, Auto-Revert Mode does not generate any messages.\nWhen non-nil, a message is generated whenever a buffer is reverted." auto-revert-mode-text #[0 "\300\207" [#1=" ARev"] 1 #1#] "String to display in the mode line when Auto-Revert Mode is active.\n\n(When the string is not empty, make sure that it has a leading space.)" :tag "Auto-Revert Mode Text" string auto-revert-tail-mode-text #[0 "\300\207" [#2=" Tail"] 1 #2#] "String to display in the mode line when Auto-Revert Tail Mode is active.\n\n(When the string is not empty, make sure that it has a leading space.)" :version "22.1" auto-revert-mode-hook #[0 "\300\207" [nil] 1] "Functions to run when Auto-Revert Mode is activated." "Auto-Revert Mode Hook" hook global-auto-revert-mode-text #[0 "\300\207" [#3=""] 1 #3#] "String to display when Global Auto-Revert Mode is active.\n\nThe default is nothing since when this mode is active this text doesn't\nvary over time, or between buffers. Hence mode line text\nwould only waste precious space." global-auto-revert-mode-hook #[0 "\300\207" [nil] 1] "Hook called when Global Auto-Revert Mode is activated." global-auto-revert-non-file-buffers #[0 "\300\207" [nil] 1] "When nil, Global Auto-Revert Mode operates only on file-visiting buffers.\n\nWhen non-nil, both file buffers and buffers with a custom\n`revert-buffer-function' and a `buffer-stale-function' are\nreverted by Global Auto-Revert Mode. These include the Buffer\nList buffer displayed by `buffer-menu', and Dired buffers showing\ncomplete local directories. The Buffer List buffer reverts every\n`auto-revert-interval' seconds; Dired buffers when the file list of\nthe main directory changes. Dired buffers do not auto-revert as\na result of changes in subdirectories, or in the contents, size,\nmodes, etc., of files. You may still sometimes want to revert\nthem manually.\n\nUse this option with care since it could lead to excessive auto-reverts.\nFor more information, see Info node `(emacs)Autorevert'." :link (info-link "(emacs)Autorevert") global-auto-revert-ignore-modes #[0 "\300\207" [nil] 1] "List of major modes Global Auto-Revert Mode should not check." (repeat sexp) auto-revert-load-hook #[0 "\300\207" [nil] 1] "Functions to run when Auto-Revert Mode is first loaded." "Load Hook" auto-revert-check-vc-info #[0 "\300\207" [nil] 1] "If non-nil Auto-Revert Mode reliably updates version control info.\nAuto-Revert Mode updates version control info whenever the buffer\nneeds reverting, regardless of the value of this variable.\nHowever, the version control state can change without changes to\nthe work file. If the change is made from the current Emacs\nsession, all info is updated. But if, for instance, a new\nversion is checked in from outside the current Emacs session, the\nversion control number in the mode line, as well as other version\ncontrol related information, may not be properly updated. If you\nare worried about this, set this variable to a non-nil value.\n\nThis currently works by automatically updating the version\ncontrol info every `auto-revert-interval' seconds. Nevertheless,\nit should not cause excessive CPU usage on a reasonably fast\nmachine, if it does not apply to too many version controlled\nbuffers. CPU usage depends on the version control system."] 10)
#@276 When non-nil, Global Auto-Revert Mode will not revert this buffer.
This variable can also be a predicate function, in which case
it'll be called with one parameter (the buffer in question), and
it should return non-nil to make Global Auto-Revert Mode not
revert this buffer.
(defvar global-auto-revert-ignore-buffer nil (#$ . 6559))
(byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313\314\315& \210\302\316\304\305\317DD\320\310\311\312\313\321\322\323\324\314\315&
\210\302\325\304\305\326DD\327\310\311\312\330\314\315& \210\302\331\304\305\332DD\333\310\311\312\313\321\334\314\335&\207" [make-variable-buffer-local global-auto-revert-ignore-buffer custom-declare-variable auto-revert-remote-files funcall function #[0 "\300\207" [nil] 1] "If non-nil remote files are also reverted." :group auto-revert :type boolean :version "24.4" auto-revert-use-notify #[0 "\300\207" [t] 1] "If non-nil Auto-Revert Mode uses file notification functions.\nYou should set this variable through Custom." :set #[514 "\300\"\210J?\205) \301 \211\205'