;ELC
;;; Compiled
;;; in Emacs version 26.1
;;; 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\303\304\305\306\307\310\307\311&\207" [require 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 (#$ . 744))
(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 (#$ . 954))
(put 'auto-revert-tail-mode 'permanent-local t)
#@33 Timer used by Auto-Revert Mode.
(defvar auto-revert-timer nil (#$ . 1183))
(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)
#@128 When non-nil, Global Auto-Revert Mode will not revert this buffer.
This variable becomes buffer local when set in any fashion.
(defvar global-auto-revert-ignore-buffer nil (#$ . 6539))
(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& \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' \211@r\211q\210\302J\203 \303 \210)A\266\202\202
\262\207" [set-default buffer-list auto-revert-notify-watch-descriptor auto-revert-notify-rm-watch] 5 "\n\n(fn VARIABLE VALUE)"] :initialize custom-initialize-default auto-revert-notify-exclude-dir-regexp #[0 "\301\302?\205 \303Q\207" [auto-revert-remote-files "^" "\\(?:/\\(?:afs/\\|m\\(?:edia/\\|nt\\)\\|\\(?:ne\\|tmp_mn\\)t/\\)\\)" "\\|^/[^/|:][^/|]+:"] 3] "Regular expression of directories to be excluded from file notifications." regexp] 14)
#@224 List of buffers in Auto-Revert Mode.
Note that only Auto-Revert Mode, never Global Auto-Revert Mode, adds
buffers to this list.
The timer function `auto-revert-buffers' is responsible for purging
the list of old buffers.
(defvar auto-revert-buffer-list nil (#$ . 7893))
#@56 Buffers not checked when user input stopped execution.
(defvar auto-revert-remaining-buffers nil (#$ . 8171))
#@37 Position of last known end of file.
(defvar auto-revert-tail-pos 0 (#$ . 8287))
(defalias 'auto-revert-find-file-function #[0 "\302\301!\210\303\304!8\211\207" [buffer-file-name auto-revert-tail-pos make-local-variable 7 file-attributes] 3])
(add-hook 'find-file-hook 'auto-revert-find-file-function)
#@199 A hash table collecting all file watch descriptors.
Hash key is a watch descriptor, hash value is a list of buffers
which are related to files being watched and carrying the same
default directory.
(defvar auto-revert-notify-watch-descriptor-hash-list (make-hash-table :test 'equal) (#$ . 8597))
#@58 The file watch descriptor active for the current buffer.
(defvar auto-revert-notify-watch-descriptor nil (#$ . 8899))
(byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local auto-revert-notify-watch-descriptor put permanent-local t] 4)
#@110 Non-nil when file has been modified on the file system.
This has been reported by a file notification event.
(defvar auto-revert-notify-modified-p nil (#$ . 9162))
(make-variable-buffer-local 'auto-revert-notify-modified-p)
#@52 Remove dead buffer from `auto-revert-buffer-list'.
(defalias 'auto-revert-remove-current-buffer #[0 "\301p\"\211\207" [auto-revert-buffer-list delq] 3 (#$ . 9392)])
#@101 Non-nil if Auto-Revert mode is enabled.
Use the command `auto-revert-mode' to change this variable.
(defvar auto-revert-mode nil (#$ . 9566))
(make-variable-buffer-local 'auto-revert-mode)
#@708 Toggle reverting buffer when the file changes (Auto-Revert Mode).
With a prefix argument ARG, enable Auto-Revert Mode if ARG is
positive, and disable it otherwise. If called from Lisp, enable
the mode if ARG is omitted or nil.
Auto-Revert Mode is a minor mode that affects only the current
buffer. When enabled, it reverts the buffer when the file on
disk changes.
When a buffer is reverted, a message is generated. This can be
suppressed by setting `auto-revert-verbose' to nil.
Use `global-auto-revert-mode' to automatically revert all buffers.
Use `auto-revert-tail-mode' if you know that the file will only grow
without being changed in the part that is already in the buffer.
(fn &optional ARG)
(defalias 'auto-revert-mode #[256 "\304 \305=\203
?\202 \306!\307V\211\203+ p >\2045 p B\310\311\312\313\314$\210\2025 \n\2032 \315 \210\312 \210\316 \210\203A \317 \210\313\320\321\203K \322\202L \323\"\210\324\325!\203p \304 \203` \211\304 \232\203p \326\327\330\203k \331\202l \332#\266\210\333 \210\207" [auto-revert-mode auto-revert-buffer-list auto-revert-use-notify auto-revert-tail-mode current-message toggle prefix-numeric-value 0 add-hook kill-buffer-hook auto-revert-remove-current-buffer nil t auto-revert-notify-rm-watch auto-revert-set-timer auto-revert-buffers run-hooks auto-revert-mode-hook auto-revert-mode-on-hook auto-revert-mode-off-hook called-interactively-p any " in current buffer" message "Auto-Revert mode %sabled%s" "en" "dis" force-mode-line-update] 8 (#$ . 9762) (byte-code "\206 \301C\207" [current-prefix-arg toggle] 1)])
(defvar auto-revert-mode-hook nil)
(byte-code "\301\302N\204\f \303\301\302\304#\210\305\306\307\310\300!\205 \311\211%\207" [auto-revert-mode-map auto-revert-mode-hook variable-documentation put "Hook run after entering or leaving `auto-revert-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" add-minor-mode auto-revert-mode auto-revert-mode-text boundp nil] 6)
#@146 Turn on Auto-Revert Mode.
This function is designed to be added to hooks, for example:
(add-hook \='c-mode-hook #\='turn-on-auto-revert-mode)
(defalias 'turn-on-auto-revert-mode #[0 "\300\301!\207" [auto-revert-mode 1] 2 (#$ . 11798)])
#@111 Non-nil if Auto-Revert-Tail mode is enabled.
Use the command `auto-revert-tail-mode' to change this variable.
(defvar auto-revert-tail-mode nil (#$ . 12044))
(make-variable-buffer-local 'auto-revert-tail-mode)
#@869 Toggle reverting tail of buffer when the file grows.
With a prefix argument ARG, enable Auto-Revert Tail Mode if ARG
is positive, and disable it otherwise. If called from Lisp,
enable the mode if ARG is omitted or nil.
When Auto-Revert Tail Mode is enabled, the tail of the file is
constantly followed, as with the shell command `tail -f'. This
means that whenever the file grows on disk (presumably because
some background process is appending to it from time to time),
this is reflected in the current buffer.
You can edit the buffer and turn this mode off and on again as
you please. But make sure the background process has stopped
writing before you save the file!
When a buffer is reverted, a message is generated. This can be
suppressed by setting `auto-revert-verbose' to nil.
Use `auto-revert-mode' for changes other than appends!
(fn &optional ARG)
(defalias 'auto-revert-tail-mode #[256 "\304 \305=\203
?\202 \306!\307V\211\203t \204# \300\307!\210\310\311!\210\312 \203; \n\307U\203; \313\314!\204; \300\307!\210\202t \n\307U\203P \315p!\204P \313\316!\203P \317 \210\320\321\322\323\324$\210\325\302!\204g \326\302!\210\327\330 !8\204r \324\303\331!\210)\323\332\333\203~ \334\202 \335\"\210\336\337!\203\243 \304 \203\223 \211\304 \232\203\243 \340\341\342\203\236 \343\202\237 \344#\266\210\345 \210\207" [auto-revert-tail-mode buffer-file-name auto-revert-tail-pos auto-revert-mode current-message toggle prefix-numeric-value 0 error "This buffer is not visiting a file" buffer-modified-p y-or-n-p "Buffer is modified, so tail offset may be wrong. Proceed? " verify-visited-file-modtime "File changed on disk, content may be missing. Perform a full revert? " auto-revert-buffers add-hook before-save-hook #[0 "\300\301!\207" [auto-revert-tail-mode 0] 2] nil t local-variable-p make-local-variable 7 file-attributes 1 run-hooks auto-revert-tail-mode-hook auto-revert-tail-mode-on-hook auto-revert-tail-mode-off-hook called-interactively-p any " in current buffer" message "Auto-Revert-Tail mode %sabled%s" "en" "dis" force-mode-line-update] 8 (#$ . 12261) (byte-code "\206 \301C\207" [current-prefix-arg toggle] 1)])
(defvar auto-revert-tail-mode-hook nil)
(byte-code "\301\302N\204\f \303\301\302\304#\210\305\306\307\310\300!\205 \311\211%\207" [auto-revert-tail-mode-map auto-revert-tail-mode-hook variable-documentation put "Hook run after entering or leaving `auto-revert-tail-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" add-minor-mode auto-revert-tail-mode auto-revert-tail-mode-text boundp nil] 6)
#@165 Turn on Auto-Revert Tail Mode.
This function is designed to be added to hooks, for example:
(add-hook \='my-logfile-mode-hook #\='turn-on-auto-revert-tail-mode)
(defalias 'turn-on-auto-revert-tail-mode #[0 "\300\301!\207" [auto-revert-tail-mode 1] 2 (#$ . 14911)])
(byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313\314\315&\207" [custom-declare-variable global-auto-revert-mode funcall function #[0 "\300\207" [nil] 1] "Non-nil if Global Auto-Revert mode is enabled.\nSee the `global-auto-revert-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 `global-auto-revert-mode'." :set custom-set-minor-mode :initialize custom-initialize-default :group auto-revert :type boolean] 12)
#@968 Toggle Global Auto-Revert Mode.
With a prefix argument ARG, enable Global Auto-Revert Mode if ARG
is positive, and disable it otherwise. If called from Lisp,
enable the mode if ARG is omitted or nil.
Global Auto-Revert Mode is a global minor mode that reverts any
buffer associated with a file when the file changes on disk. Use
`auto-revert-mode' to revert a particular buffer.
If `global-auto-revert-non-file-buffers' is non-nil, this mode
may also revert some non-file buffers, as described in the
documentation of that variable. It ignores buffers with modes
matching `global-auto-revert-ignore-modes', and buffers with a
non-nil vale of `global-auto-revert-ignore-buffer'.
When a buffer is reverted, a message is generated. This can be
suppressed by setting `auto-revert-verbose' to nil.
This function calls the hook `global-auto-revert-mode-hook'.
It displays the text that `global-auto-revert-mode-text'
specifies in the mode line.
(fn &optional ARG)
(defalias 'global-auto-revert-mode #[256 "\302 \303\300\304=\203 \305\300!?\202 \306!\307V\"\210\310 \210\203% \311 \210\202A \312 \211\203@ \211@r\211q\210 \2038 \313 \210)A\266\202\202' \210\314\315\305\300!\203M \316\202N \317\"\210\320\321!\203x \322\300!\210\302 \203f \211\302 \232\203x \323\324\325\305\300!\203s \326\202t \327#\266\210\330 \210\305\300!\207" [global-auto-revert-mode auto-revert-use-notify current-message set-default toggle default-value prefix-numeric-value 0 auto-revert-set-timer auto-revert-buffers buffer-list auto-revert-notify-rm-watch run-hooks global-auto-revert-mode-hook global-auto-revert-mode-on-hook global-auto-revert-mode-off-hook called-interactively-p any customize-mark-as-set "" message "Global Auto-Revert mode %sabled%s" "en" "dis" force-mode-line-update] 7 (#$ . 15753) (byte-code "\206 \301C\207" [current-prefix-arg toggle] 1)])
(defvar global-auto-revert-mode-hook nil)
(byte-code "\301\302N\204\f \303\301\302\304#\210\305\306\307\310\300!\205 \311\211%\207" [global-auto-revert-mode-map global-auto-revert-mode-hook variable-documentation put "Hook run after entering or leaving `global-auto-revert-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" add-minor-mode global-auto-revert-mode global-auto-revert-mode-text boundp nil] 6)
#@305 Restart or cancel the timer used by Auto-Revert Mode.
If such a timer is active, cancel it. Start a new timer if
Global Auto-Revert Mode is active or if Auto-Revert Mode is active
in some buffer. Restarting the timer ensures that Auto-Revert Mode
will use an up-to-date value of `auto-revert-interval'
(defalias 'auto-revert-set-timer #[0 "\304!\203\n \305!\210 \204 \n\205 \306\211\307#\211\207" [auto-revert-timer global-auto-revert-mode auto-revert-buffer-list auto-revert-interval timerp cancel-timer run-with-timer auto-revert-buffers] 4 (#$ . 18110) nil])
#@65 Disable file notification for current buffer's associated file.
(defalias 'auto-revert-notify-rm-watch #[0 "\203 \303\304 \"\210\305\306\307\"\210\310\211\211\207" [auto-revert-notify-watch-descriptor auto-revert-notify-watch-descriptor-hash-list auto-revert-notify-modified-p maphash #[514 "\232\205& |