1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00
Commit Graph

49 Commits

Author SHA1 Message Date
Luc Teirlinck
33512cbeb1 (auto-revert-buffers): Use save-match-data. 2005-06-01 20:51:03 +00:00
Lute Kamstra
834b5c1e63 (auto-revert-mode): Specify :group. 2005-04-04 08:51:19 +00:00
Luc Teirlinck
f9478d4d2e (auto-revert-check-vc-info): Minor doc fix. 2005-03-27 03:07:38 +00:00
Luc Teirlinck
8a59305430 (auto-revert-stop-on-user-input): Doc fix. 2005-02-18 00:46:29 +00:00
Luc Teirlinck
6dbbc01d66 (auto-revert-stop-on-user-input): Further doc fix. 2005-02-17 00:58:19 +00:00
Luc Teirlinck
5433e5788e (auto-revert-stop-on-user-input): Doc fix. 2005-02-16 14:14:56 +00:00
Luc Teirlinck
6547d31354 (auto-revert-stop-on-user-input, auto-revert-verbose): Doc fixes. 2005-02-16 05:00:29 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Luc Teirlinck
d918508e05 (auto-revert-tail-handler): Put in undo boundaries. 2004-12-30 23:30:21 +00:00
Luc Teirlinck
9e559f9bda (auto-revert-tail-mode): Doc fix for defvar. 2004-12-30 03:01:28 +00:00
Luc Teirlinck
0a30670032 (auto-revert-tail-mode-text): Add :version keyword. 2004-10-30 20:30:31 +00:00
Richard M. Stallman
7ebc19f979 Comment change. 2004-10-19 16:49:51 +00:00
Luc Teirlinck
90e118abf2 (auto-revert-handler): Bind `buffer-read-only' locally around the call
to `revert-buffer'.
2004-09-03 22:28:10 +00:00
Luc Teirlinck
38f442c625 Add 2004 Copyright. 2004-07-24 15:40:09 +00:00
Luc Teirlinck
2d67776657 Describe Auto Revert Tail Mode' in Commentary' section.
(auto-revert-handler): Do not check `auto-revert-tail-mode' for
non-file buffers.  We know it is nil.
2004-07-17 20:55:57 +00:00
Daniel Pfeiffer
dddc748bec (auto-revert-tail-mode, auto-revert-tail-mode-text, auto-revert-tail-pos): New vars.
(auto-revert-mode): Turn off auto-revert-tail-mode, so we're not in both at the same time.
(auto-revert-tail-mode): New command.
(turn-on-auto-revert-tail-mode, auto-revert-tail-handler): New funs.
(auto-revert-handler): Revert only either tail or whole file.
2004-07-14 21:06:39 +00:00
Richard M. Stallman
d9e4328d52 (global-auto-revert-non-file-buffers): Doc fix. 2004-06-21 03:12:46 +00:00
Luc Teirlinck
9ae0d84f5a (global-auto-revert-non-file-buffers): Update docstring. 2004-06-19 00:36:39 +00:00
Luc Teirlinck
843c51ae4a (global-auto-revert-non-file-buffers): Add hyperlink to emacs-xtra
manual to docstring, as well as an info-link.
2004-06-15 22:03:33 +00:00
Luc Teirlinck
ae229809f7 Update `Commentary' section. 2004-05-30 21:46:34 +00:00
Luc Teirlinck
e7893b534c (auto-revert-handler): Disable auto-reverting of remote files. 2004-05-27 23:45:51 +00:00
Luc Teirlinck
1f41bcba72 (auto-revert-handler): If point (or a window point) is at the end of
the buffer, keep it there after reverting.  This allows to tail a file.
Mention this in the `Commentary'.
2004-04-05 01:09:37 +00:00
Luc Teirlinck
71c8db4cd5 Delete obsolete autoload's and defvar's.
(auto-revert-check-vc-info): New variable.
(auto-revert-vc-cvs-file-version, auto-revert-vc-buffer-p)
(auto-revert-handler-vc): Delete.
(auto-revert-handler): Treat return value `fast' of
buffer-stale-function specially.  Check `auto-revert-check-vc-info'.
2004-04-01 01:37:03 +00:00
Luc Teirlinck
d97c8375b8 (auto-revert-set-timer): Minor doc fix. 2004-03-28 14:02:48 +00:00
Luc Teirlinck
0e5dcfd7b5 (auto-revert-verbose, global-auto-revert-non-file-buffers)
(global-auto-revert-mode, auto-revert-set-timer)
(auto-revert-handler, auto-revert-buffers): Doc fixes.
2004-03-28 03:56:53 +00:00
Luc Teirlinck
c86afc19df (auto-revert-handler): Handle auto-revert-mode.
Call vc-find-file-hook here instead of in auto-revert-buffers.
(auto-revert-buffers): Delete call to vc-find-file-hook.
2004-03-28 01:39:49 +00:00
Luc Teirlinck
633e0363f9 (auto-revert-handler): Print revert message before, rather than after,
reverting.
(buffer-stale-function): Move to files.el.
2004-03-27 01:13:45 +00:00
Luc Teirlinck
d4411cef6e (global-auto-revert-non-file-buffers): Expand doc string.
(buffer-stale-function): New variable.
(auto-revert-list-diff, auto-revert-dired-file-list)
(auto-revert-dired-changed-p, auto-revert-buffer-p): Delete.
(auto-revert-handler): Take over some functionality of deleted functions.
(auto-revert-buffers): Delete call to auto-revert-buffer-p.
2004-03-23 05:24:55 +00:00
Luc Teirlinck
a2ac68f1ee (auto-revert-interval): Make new value take effect immediately when
set through Custom.
(auto-revert-set-timer): Add interactive declaration.
2004-03-21 00:30:12 +00:00
Luc Teirlinck
8a9825f74d (auto-revert-buffer-p): Only revert dired buffers if one of
global-auto-revert-non-file-buffers or autorevert-mode is non-nil.
2004-02-17 02:26:58 +00:00
Eli Zaretskii
4e664f62f0 Autorevert: Add support for VC controlled files.
(eval-when-compile): Defvar dired-directory and vc-mode.
(auto-revert-vc-cvs-file-version, auto-revert-vc-buffer-p)
(auto-revert-handler-vc): New functions.
2004-02-16 13:59:46 +00:00
Eli Zaretskii
0f98bc2350 (auto-revert-dired-file-list): added missing variable file' to let'.
(top level): Byte compiler fixes: defvar `dired-directory' added,
autoload `dired-get-filename' added.
2004-02-16 13:47:39 +00:00
Eli Zaretskii
ed35db71b4 Added support to detect changed dired buffers.
(auto-revert-active-p): New.
(auto-revert-list-diff): New.
(auto-revert-dired-file-list): New.
(auto-revert-dired-changed-p): New.
(auto-revert-handler): New.
(auto-revert-active-p): New.
(auto-revert-buffers): Moved logic to
`auto-revert-handler' and `auto-revert-active-p'
2004-02-16 13:12:21 +00:00
Eli Zaretskii
ad6600754d (auto-revert-interval): Doc fix. 2003-12-29 12:41:49 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stefan Monnier
0e4f946891 (auto-revert-mode, global-auto-revert-mode):
Use define-minor-mode.
(auto-revert-buffers): Use with-current-buffer.
Avoid changing the minor modes.
2002-04-08 23:05:26 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Gerd Moellmann
bf2150fa22 (global-auto-revert-non-file-buffers): Remove
duplicate defcustom.
2001-03-26 11:13:47 +00:00
Dave Love
6ea3b61f7e (global-auto-revert-mode): Add autoload cookie. 2000-02-02 13:55:46 +00:00
Gerd Moellmann
39d62e7a1f (auto-revert-mode): Return value of auto-revert-mode. 2000-01-04 21:29:59 +00:00
Gerd Moellmann
a468671afc (auto-revert-buffers): Auto-revert mode was turned
off when reverting buffers that contained mode specifiers.
`revert-buffer' is now called with non-nil PRESERVE-MODES
argument.
1999-12-01 16:22:27 +00:00
Gerd Moellmann
afa95caca6 (auto-revert-mode): Make auto-revert-mode permanent-local. 1999-10-19 13:29:18 +00:00
Dave Love
00d0fda828 (auto-revert-mode): Add autoload cookie. 1999-08-10 13:10:39 +00:00
Richard M. Stallman
5abdc91582 Comment change. 1998-06-07 23:07:55 +00:00
Dan Nicolaescu
f5f727f8ff *** empty log message *** 1998-05-26 09:23:23 +00:00
Dave Love
c44968212e Fix header line. 1998-03-25 19:16:31 +00:00
Dave Love
48764ae263 Various doc fixes, mainly grammar. 1998-03-25 19:13:11 +00:00
Richard M. Stallman
f1e3ff8000 (global-auto-revert-ignore-buffer): Doc fix.
(global-auto-revert-mode): Fix message text.
1998-01-16 05:36:23 +00:00
Richard M. Stallman
4a35aff3a9 Initial revision 1997-07-04 05:07:07 +00:00