1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00
Commit Graph

78 Commits

Author SHA1 Message Date
Juanma Barranquero
06641a4768 lisp/autorevert.el: Use `remote-file-name-inhibit-cache'.
* autorevert.el (auto-revert-handler):
  Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
  which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
  Don't quote lambda.
2011-04-13 16:27:41 +02:00
Glenn Morris
18cfb5a1ea autorevert.el trivia.
* lisp/autorevert.el (auto-revert-mode, auto-revert-tail-mode)
(global-auto-revert-ignore-buffer): Remove leading "*" from docs.
It makes zero sense to use it with these variables.
2011-02-19 16:09:28 -08:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Michael Albinus
3eedbc8523 * autorevert.el (auto-revert-handler): Allow
`auto-revert-tail-mode' for remote files.
2009-08-02 17:21:16 +00:00
Glenn Morris
fc2f6a2608 (global-auto-revert-non-file-buffers, global-auto-revert-mode): Doc fixes. 2009-06-28 00:52:23 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Stefan Monnier
aa657fbff9 (auto-revert-buffers): Use buffer-live-p. 2008-03-26 02:38:15 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
David Kastrup
fdc31e1d38 (auto-revert-handler): In `auto-revert-tail-mode',
check only for changed size.
(auto-revert-tail-handler): Get size from caller.  If the file has
shrunk, tail the whole file again (the file presumably has been
rewritten).
2007-09-30 20:26:55 +00:00
Miles Bader
37cc095b6a Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
2007-08-13 13:41:28 +00:00
Glenn Morris
4837b516ea Replace `iff' in doc-strings and comments. 2007-08-08 07:40:09 +00:00
Glenn Morris
b1ab8c3810 (auto-revert-tail-mode): auto-revert-tail-pos is zero, not nil, when
the library is first loaded.  Check for a file that has been modified
on disk.
2007-08-04 02:35:10 +00:00
Glenn Morris
0917bb33fd (auto-revert-tail-mode): auto-revert-tail-pos is zero, not nil, when
the library is first loaded.  Check for a file that has been modified
on disk.
2007-08-04 02:31:52 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Stefan Monnier
ddd7c23854 (auto-revert-tail-handler): Use inhibit-read-only.
Run before-revert-hook.  Suggested by Denis Bueno <denbuen@sandia.gov>.
Use run-hooks rather than run-mode-hooks.
2007-07-06 12:58:16 +00:00
Jason Rumney
ced3c1e229 (find-file-hook, auto-revert-tail-mode):
Use file size in bytes for auto-revert-tail-pos not characters.
2007-03-24 13:39:21 +00:00
Chong Yidong
534a87c49a (auto-revert-tail-handler): Call after-revert-hook. 2007-03-17 20:38:17 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Eli Zaretskii
415053a111 (global-auto-revert-non-file-buffers): Point Info links to the main manual,
not to emacs-xtra.
2006-05-06 14:38:07 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Richard M. Stallman
f373470deb (auto-revert-tail-mode): Use make-local-variable,
not make-variable-buffer-local.
2005-08-09 02:55:00 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
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